mirror of https://github.com/acid-info/lsd.git
fix: fix modal's close icon position
This commit is contained in:
parent
3c398e7e09
commit
41b2c62e63
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue