enhance(ux): support more align position for the shui dialog

This commit is contained in:
charlie
2024-04-08 11:40:36 +08:00
parent 00de4ecead
commit 57af873bf4
5 changed files with 22 additions and 21 deletions

View File

@@ -225,13 +225,14 @@ html[data-theme=dark] {
}
}
.ui__dialog-content {
&[side=start] {
@apply translate-y-0 top-[56px];
}
&[side=end] {
.ui__dialog-overlay {
&[data-align=start],
&[data-align=top] {
@apply !items-start;
.ui__dialog-content {
@apply top-20;
}
}
}