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

This commit is contained in:
charlie
2024-06-25 15:37:11 +08:00
parent 74b327fb64
commit e2ff6e1990
7 changed files with 75 additions and 109 deletions

View File

@@ -179,16 +179,6 @@
}
}
&[label="flashcards__cp"] {
.panel-content {
padding: 2rem 0;
@screen sm {
padding: 2rem 2rem;
}
}
}
&[label="instruction__cp"] {
.ui__modal-panel {
@@ -222,25 +212,6 @@ html.is-native-iphone-without-notch {
.ls-card {
min-height: 65vh;
}
.ui__modal {
&[label="flashcards__cp"] {
.panel-content {
padding: 2rem 1rem 1rem;
width: 90vw;
.cards-review {
padding-left: 0px;
padding-right: 0px;
}
.blocks-container {
transform: translateX(-7px);
width: 103%;
}
}
}
}
}
html.is-mobile {