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

This commit is contained in:
charlie
2024-06-25 17:27:51 +08:00
parent e2ff6e1990
commit 327664aac0
2 changed files with 13 additions and 14 deletions

View File

@@ -51,15 +51,10 @@
}
}
.ui__modal[label=user-login] {
@apply flex items-center top-0;
.ui__dialog-content[label=user-login] {
@apply flex items-center top-0 p-0 border-none w-auto;
.ui__modal-panel {
transition: transform .3s;
transform: translateY(-50px);
}
.panel-content {
.ui__dialog-main-content {
@apply p-0 min-w-fit relative max-w-[600px] sm:max-w-[90vw] sm:w-[500px];
}