fix: fix modal's close icon position

This commit is contained in:
jongomez 2023-10-05 00:08:12 +01:00 committed by Jon
parent 3c398e7e09
commit 41b2c62e63
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,8 @@ export const ModalStyles = css`
} }
.${modalClasses.modalContainer} { .${modalClasses.modalContainer} {
position: relative;
background: rgb(var(--lsd-surface-primary)); background: rgb(var(--lsd-surface-primary));
padding: 20px; padding: 20px;
@ -43,6 +45,9 @@ export const ModalStyles = css`
} }
.${modalClasses.closeIcon} { .${modalClasses.closeIcon} {
position: absolute;
top: 8px;
right: 8px;
cursor: pointer; cursor: pointer;
} }