Add update check and change log

This commit is contained in:
Will Miao
2025-03-06 17:28:18 +08:00
parent 5e6cce936d
commit 61ea42353d
7 changed files with 386 additions and 112 deletions

View File

@@ -1224,14 +1224,14 @@ body.modal-open {
transform: translateY(-2px);
}
.changelog-section, .update-instructions {
.changelog-section {
background: var(--bg-color);
border: 1px solid var(--lora-border);
border-radius: var(--border-radius-sm);
padding: var(--space-2);
}
.changelog-section h3, .update-instructions h3 {
.changelog-section h3 {
margin-top: 0;
margin-bottom: var(--space-2);
color: var(--lora-accent);
@@ -1239,7 +1239,7 @@ body.modal-open {
}
.changelog-content {
max-height: 200px;
max-height: 300px; /* Increased height since we removed instructions */
overflow-y: auto;
}
@@ -1272,17 +1272,6 @@ body.modal-open {
color: var(--text-color);
}
.code-block {
background: var(--lora-surface);
border: 1px solid var(--lora-border);
border-radius: var(--border-radius-xs);
padding: var(--space-1) var(--space-2);
margin: var(--space-1) 0;
font-family: monospace;
color: var(--text-color);
overflow-x: auto;
}
@media (max-width: 480px) {
.update-info {
flex-direction: column;
@@ -1353,10 +1342,4 @@ input:checked + .toggle-slider:before {
color: var(--text-color);
}
.preference-note {
margin-top: 4px;
font-size: 0.8em;
color: var(--text-color);
opacity: 0.7;
margin-left: 52px;
}
/* ...existing code... */