Remove supportModal.html and refactor error-message styles across multiple CSS files for consistency

- Deleted supportModal.html as it is no longer needed.
- Removed duplicate error-message styles from download-modal.css, import-modal.css, and lora-modal.css.
- Consolidated error-message styles into shared.css to ensure consistent styling across components.
This commit is contained in:
Will Miao
2025-03-19 10:10:27 +08:00
parent f38b51b85a
commit 03dfe13769
5 changed files with 14 additions and 18 deletions

View File

@@ -23,12 +23,6 @@
color: var(--text-color);
}
.error-message {
color: var(--lora-error);
font-size: 0.9em;
margin-top: 4px;
}
/* Version List Styles */
.version-list {
max-height: 400px;

View File

@@ -4,6 +4,14 @@
transition: none !important; /* Disable any transitions that might affect display */
}
/* Ensure error messages maintain proper height and visibility */
.import-section .error-message {
min-height: 1.2em;
visibility: visible !important;
opacity: 1 !important;
display: block !important;
}
/* Import Mode Toggle */
.import-mode-toggle {
display: flex;
@@ -431,12 +439,6 @@
color: var(--text-color);
}
.error-message {
color: var(--lora-error);
font-size: 0.9em;
margin-top: 4px;
}
/* Dark theme adjustments */
[data-theme="dark"] .lora-item {
background: var(--lora-surface);

View File

@@ -799,12 +799,6 @@
display: none !important;
}
.error-message {
color: var(--lora-error);
text-align: center;
padding: var(--space-2);
}
.no-examples {
text-align: center;
padding: var(--space-3);

View File

@@ -40,4 +40,10 @@
.local-badge:hover .local-path {
display: block;
}
.error-message {
color: var(--lora-error);
font-size: 0.9em;
margin-top: 4px;
}