fix(css): @layer base override for [hidden] + d-os 620px right column #21

Merged
skr merged 1 commit from fix/d-os-620 into main 2026-05-08 19:45:31 +00:00
Owner

!important rules in earlier author layers beat later/unlayered (Cascade Layers � 6.4.1). Move stack override into @layer base to match Tailwind preflight layer; restore the prototype 1fr 620px Open Research column.

!important rules in earlier author layers beat later/unlayered (Cascade Layers � 6.4.1). Move stack override into @layer base to match Tailwind preflight layer; restore the prototype 1fr 620px Open Research column.
fix(css): align iso-variant-stack [hidden] override layer + d-os 620px column
All checks were successful
Build & Deploy / check (pull_request) Successful in 29s
Build & Deploy / deploy (pull_request) Has been skipped
f59be0a8e9
Two follow-ups for the panel-jump and Open Research alignment regressions
that the prior fixes failed to land:

1) Panel-jump: CSS Cascade Layers § 6.4.1 reverses layer order for
   `!important` author rules — !important in an EARLIER layer wins
   over !important in any later layer AND over unlayered. Tailwind
   v4's preflight `[hidden]…{display:none!important}` lives in
   @layer base, so the previous unlayered override still lost.
   The override now lives inside @layer base too; within one layer
   the normal cascade applies and the higher-specificity selector
   `.iso-variant-stack > .iso-variant[hidden]` wins.

2) Open Research grid: the right column was `1fr 300px`; the
   prototype has `1fr 620px` (gap 64). With 300px the inner grid
   `calc(50% - 5px) 200px` collapsed each repo card to 145px wide
   and the Coming-Soon column overflowed. 620px restores the
   prototype's 305 + 10 + 200 layout.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
skr merged commit e8558e78d8 into main 2026-05-08 19:45:31 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nm/website!21
No description provided.