feat: add max icon for modals

This commit is contained in:
Yidadaa
2023-07-06 01:11:50 +08:00
parent 5c8be2a8f6
commit 9e6617e3ca
3 changed files with 48 additions and 8 deletions

View File

@@ -79,6 +79,19 @@
--modal-padding: 20px;
&-max {
width: 95vw;
max-width: unset;
height: 95vh;
display: flex;
flex-direction: column;
.modal-content {
max-height: unset !important;
flex-grow: 1;
}
}
.modal-header {
padding: var(--modal-padding);
display: flex;
@@ -91,11 +104,19 @@
font-size: 16px;
}
.modal-close-btn {
cursor: pointer;
.modal-header-actions {
display: flex;
&:hover {
filter: brightness(1.2);
.modal-header-action {
cursor: pointer;
&:not(:last-child) {
margin-right: 20px;
}
&:hover {
filter: brightness(1.2);
}
}
}
}