Refactor modal styles: remove model name field and adjust margin for modal content header

This commit is contained in:
Will Miao
2025-05-22 10:02:13 +08:00
parent 6052608a4e
commit b25fbd6e24
2 changed files with 2 additions and 8 deletions

View File

@@ -673,11 +673,6 @@
opacity: 0.9; opacity: 0.9;
} }
/* Model name field styles - complete replacement */
.model-name-field {
display: none;
}
/* New Model Name Header Styles */ /* New Model Name Header Styles */
.model-name-header { .model-name-header {
display: flex; display: flex;
@@ -1330,8 +1325,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
gap: 10px; gap: 10px;
margin-top: var(--space-1); margin-bottom: var(--space-1);
margin-bottom: var(--space-2);
padding: 6px 10px; padding: 6px 10px;
background: rgba(0, 0, 0, 0.03); background: rgba(0, 0, 0, 0.03);
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1);

View File

@@ -151,7 +151,7 @@ body.modal-open {
.modal-content h2 { .modal-content h2 {
color: var(--text-color); color: var(--text-color);
margin-bottom: var(--space-2); margin-bottom: var(--space-1);
font-size: 1.5em; font-size: 1.5em;
} }