fix(options): keep navbarfontcolorcustom in column 2, full-width swatch chips

The new navbarfontcolorcustom picker fell into the generic 'rest' slot of the
Top-of-the-page layout, which opened a NEW col-md-4 — so the picker landed in
column 3 next to the sticky checkboxes and left the divs unbalanced. Map the
key to slot h2 so it stays in column 2 under the navbarfontcolor dropdown,
rendered col-12 (full column width); column 3 is the sticky block again and
the pane markup is balanced (89/89 divs). The swatch chips under the dropdown
were tiny inline squares — make the chips row full column width with taller
flex chips showing the hex value (options.js chip.text). OPTIONS_JS_TOKEN
bumped to 20261126.2 (options.js changed). Layout pinned by jsdom assertions
(picker in the same col-md-4 as the dropdown, wrapper col-12); suite 6/6,
export 0. Variants intentionally not rebuilt (owner: deferred).

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

View file

@ -233,21 +233,29 @@ div.qvideo .question-valid-container {
opacity: 0.55;
}
/* Full column width: the chips row sits in its own block under the dropdown
(sel.after(chips) in options.js) and stretches to the column's full width. */
.color-mode-chips {
display: inline-flex;
gap: 0.25rem;
margin-left: 0.5rem;
vertical-align: middle;
display: flex;
width: 100%;
gap: 0.35rem;
margin-top: 0.4rem;
}
.color-chip {
width: 1.1rem;
height: 1.1rem;
padding: 0;
flex: 1 1 0;
height: 1.6rem;
padding: 0 0.2rem;
border: 1px solid rgba(0, 0, 0, 0.35);
border-radius: 0.25rem;
cursor: pointer;
background: transparent;
color: #fff;
text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
font-size: 0.65rem;
line-height: 1;
overflow: hidden;
white-space: nowrap;
}
.color-chip.active {