enhance(ui): refactor classic modal with the shui dialog

This commit is contained in:
charlie
2024-06-26 09:29:20 +08:00
parent 84638989f6
commit 0c2dd53c2f
4 changed files with 23 additions and 21 deletions

View File

@@ -160,7 +160,7 @@
}
&[label="ls-modal-align-center"],
&.as-center{
&.as-center {
top: 0;
.ui__modal-panel {
@@ -178,15 +178,12 @@
}
}
}
}
&[label="instruction__cp"] {
.ui__modal-panel {
height: 90%;
}
.panel-content {
height: 100%;
.ui__dialog-content {
&[label=flashcards__cp] {
.ui__dialog-main-content {
@apply max-h-[85vh] overflow-auto;
}
}
}