enhance(ui): support auto width for the shui dialog content

This commit is contained in:
charlie
2024-06-25 18:06:13 +08:00
parent 327664aac0
commit 946499ad56
3 changed files with 18 additions and 9 deletions

View File

@@ -238,6 +238,10 @@ html[data-theme=dark] {
.ui__dialog-content {
@apply outline-none;
&[data-auto-width] {
@apply max-w-[90vw] w-max sm:max-w-[960px];
}
}
.ui__button-shortcut-key {