feat(ui): adjust modal header width and enhance close button z-index, fixes #729

- Decrease modal header width from 85% to 84% for better visual alignment
- Add z-index: 10 to close button to ensure it remains above other modal elements
This commit is contained in:
Will Miao
2025-12-17 10:34:04 +08:00
parent 099a71b2cc
commit bdb4422cbc
2 changed files with 2 additions and 1 deletions

View File

@@ -20,7 +20,7 @@
} }
.modal-header-row { .modal-header-row {
width: 85%; width: 84%;
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
gap: var(--space-2); gap: var(--space-2);

View File

@@ -122,6 +122,7 @@ body.modal-open {
cursor: pointer; cursor: pointer;
opacity: 0.7; opacity: 0.7;
transition: opacity 0.2s; transition: opacity 0.2s;
z-index: 10;
} }
.close:hover { .close:hover {