fix(options): inserted h2 section headers at 24px instead of h1-sized

Row 128 made the section headers ("Header", "Logos", "Default font",
"Default colors", "Progress bar") exactly h1-sized (2.5rem at desktop),
which turned out too big — row 130 fixes them at a flat 24px. The modal
title h2.modal-title stays excluded. No options.js change ->
OPTIONS_JS_TOKEN stays 20261126.9. Verified: render tc=588 (rule in served
HTML), jsdom 6/6 incl. updated pin (24px rule present, no stale calc/2.5rem
rule), export exit 0. Variants not rebuilt (deferred).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-26 16:36:11 +01:00
commit f26ee734d4

View file

@ -170,17 +170,12 @@
.action_update_options_string_form .form-label { .action_update_options_string_form .form-label {
font-size: 16px; font-size: 16px;
} }
/* row 128: the section headers this page inserts (h2 inside the tab panes, /* row 128/130: the section headers this page inserts (h2 inside the tab
e.g. "Header", "Logos", "Default colors") are just as big as the h1 page panes, e.g. "Header", "Logos", "Default colors") — row 128 made them
header — the exact same rule Bootstrap applies to h1 (the modal title h1-sized, which turned out too big, so row 130 fixes them at 24px.
h2.modal-title is outside .tab-content and stays small). */ The modal title h2.modal-title is outside .tab-content and excluded. */
.tab-content h2:not(.modal-title) { .tab-content h2:not(.modal-title) {
font-size: calc(1.375rem + 1.5vw); font-size: 24px;
}
@media (min-width: 1200px) {
.tab-content h2:not(.modal-title) {
font-size: 2.5rem;
}
} }
.color-mode-effective { .color-mode-effective {
display: inline-block; display: inline-block;