mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-05-25 19:20:16 +00:00
a6884ca40f
Replaces PR #1433 unconditional JS display:none with a CSS @container query that shows the chip only at composer-footer widths >= 1100px. JS now clears inline style instead of setting display:none, so the CSS responsive cascade is the single source of truth. Also removed inline style=\"display:none\" from index.html so the CSS base rule provides the default-hidden state. 10 regression tests pin the base hide, wide-container show, narrow-container hide (520px container query), mobile viewport hide (640px @media), JS does not force display:none, JS clears inline style, /api/session/toolsets and the dropdown machinery (toggleToolsetsDropdown, _populateToolsetsDropdown) are preserved. Refs #1431, #1433.