fix(css): !important on iso-variant-stack [hidden] override #19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/panel-stack-important-2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Defeat Tailwind v4 preflight
[hidden]{display:none!important}so stacked panels stay in same grid cell. Rebased on current main.The earlier fix added `display: block` for stacked panels with the `hidden` attribute, but Tailwind v4's preflight ships `[hidden]:where(:not([hidden=until-found])){display:none!important}` in @layer base. The !important defeats any non-important author rule regardless of specificity, so 4 of 5 panels collapsed to display:none and the wrap height jumped on every tab-switch. Adds !important to the author rule. Both rules now duel as important, and the higher-specificity author rule (0,0,2,1) wins over the preflight (0,0,1,0). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>