feat: modal enhancements
This commit is contained in:
parent
870c40cb46
commit
54cc4bdc01
4 changed files with 36 additions and 10 deletions
|
@ -12,7 +12,7 @@
|
|||
height: 100%;
|
||||
width: 100%;
|
||||
inset: 0;
|
||||
overflow: scroll;
|
||||
overflow-y: scroll;
|
||||
border-radius: var(--border-radius-slight);
|
||||
padding: var(--spacing-lg) var(--spacing-2xl);
|
||||
|
||||
|
@ -24,9 +24,9 @@
|
|||
}
|
||||
|
||||
& .modal-close {
|
||||
position: absolute;
|
||||
top: var(--spacing-lg);
|
||||
right: var(--spacing-lg);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
left: 100%;
|
||||
height: var(--sizing-svg-base);
|
||||
width: var(--sizing-svg-base);
|
||||
}
|
||||
|
|
Reference in a new issue