fix(ui): update modal styles for better responsiveness and overflow handling

This commit is contained in:
Supra4E8C
2025-11-09 17:17:49 +08:00
parent aa1dedc932
commit 5aff22a20b
2 changed files with 8 additions and 2 deletions

View File

@@ -26,6 +26,5 @@
"repository": { "repository": {
"type": "git", "type": "git",
"url": "local" "url": "local"
}, }
"dependencies": {}
} }

View File

@@ -2076,9 +2076,13 @@ input:checked+.slider:before {
border-radius: 15px; border-radius: 15px;
width: 90%; width: 90%;
max-width: 550px; max-width: 550px;
max-height: 90vh;
box-shadow: var(--shadow-modal); box-shadow: var(--shadow-modal);
animation: modalSlideIn 0.3s ease; animation: modalSlideIn 0.3s ease;
position: relative; position: relative;
display: flex;
flex-direction: column;
overflow: hidden;
} }
@keyframes modalSlideIn { @keyframes modalSlideIn {
@@ -2119,6 +2123,9 @@ input:checked+.slider:before {
#modal-body { #modal-body {
padding: 35px 30px 30px 30px; padding: 35px 30px 30px 30px;
flex: 1;
min-height: 0;
overflow-y: auto;
} }
/* 模态框标题样式 */ /* 模态框标题样式 */