Settings: more padding between sections (#161)
CI / test (pull_request) Successful in 37s
CI / docker (pull_request) Skipped

Add margin under the dark mode toggle and between section headings
(theme/editor) on /settings via CSS classes, no inline styles (CSP).
This commit is contained in:
fen
2026-09-10 09:41:45 -05:00
parent 85dcaea522
commit 317ed2137a
+5
View File
@@ -248,6 +248,11 @@ body {
.settings-section-title { color: var(--fg); font-size: 24px; margin-bottom: 6px; } .settings-section-title { color: var(--fg); font-size: 24px; margin-bottom: 6px; }
/* theme switcher cards (#100) */ /* theme switcher cards (#100) */
.theme-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; } .theme-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
/* #161: more breathing room between settings sections */
#settings-dark-toggle { margin-bottom: 20px; }
.settings-body h3 { margin-top: 28px; }
.settings-body .theme-grid { margin-bottom: 8px; }
.theme-card { .theme-card {
display: flex; flex-direction: column; gap: 10px; align-items: flex-start; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
padding: 14px 16px; min-width: 180px; padding: 14px 16px; min-width: 180px;