enhance(ui): support hide close button option for the shui dialog

This commit is contained in:
charlie
2024-06-26 10:01:54 +08:00
parent 0c2dd53c2f
commit d278067f8c
5 changed files with 19 additions and 11 deletions

View File

@@ -242,6 +242,12 @@ html[data-theme=dark] {
&[data-auto-width] {
@apply max-w-[90vw] w-max sm:max-w-[960px];
}
&[data-close-btn=false] {
.ui__dialog-close {
@apply hidden;
}
}
}
.ui__button-shortcut-key {