v26.05.24.0: TopNav re-fix (flex 1 1 0 side cells) #6
Reference in New Issue
Block a user
Delete Branch "dev"
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?
Single-commit follow-up: the
1fr auto 1frgrid layout shipped in v26.05.23.3 wasn't actually symmetric. CSS Grid treats1frasminmax(auto, 1fr), so a side cell whose intrinsic content (brand on the left, action button on the right) exceeded its 1fr share quietly grew past it. On narrower viewports the centered link block still shifted when the action slot rendered.The fix swaps to a flex layout with explicit equal-weight side cells:
flex: 1 1 0(equal weight, basis 0) makes both side cells grow/shrink at the same rate regardless of content, keeping the middle anchored.Commits