Skip to content

Fix: Board card never actually hid (CSS specificity beat [hidden]) - #5

Merged
Kyzcreig merged 1 commit into
mainfrom
fix/board-card-hidden
Jul 21, 2026
Merged

Fix: Board card never actually hid (CSS specificity beat [hidden])#5
Kyzcreig merged 1 commit into
mainfrom
fix/board-card-hidden

Conversation

@Kyzcreig

Copy link
Copy Markdown
Owner

Follow-up to #4. The data-optional Board card set hidden=true in JS but stayed visible on the live NAS: .metric{display:flex} (specificity 0,1,0) beat the UA [hidden] default (0,0,0). Screenshot of the deployed page caught it. Fix: global [hidden]{display:none!important} + UI-contract regression test. 50 tests green.

…ually hides

The #2 data-optional wiring set hidden=true in JS, but .metric{display:flex}
(class specificity 0,1,0) beat the UA [hidden] default (0,0,0), so the Board
card stayed visible with a dead --deg on the live NAS. Add a global
[hidden]{display:none!important} rule + a UI-contract regression test.
@Kyzcreig
Kyzcreig merged commit 5730d6f into main Jul 21, 2026
1 check passed
@Kyzcreig
Kyzcreig deleted the fix/board-card-hidden branch July 21, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant