Fix contradictory ToC card width caps - #19032
Merged
Merged
Conversation
The card variant set `min-w-80 max-w-72` on the same element, so the 288px max never applied and the card always rendered at the 320px min. Replaces both with `w-80` on `root`, where the file's own note says width caps belong. Rendered width is unchanged at 320px. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
myelinated-wackerow
requested review from
pettinarip and
wackerow
as code owners
August 10, 2026 23:33
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
🔎 First-pass review — ✅ Looks mergeableOne-line CSS correctness fix on Analysis
|
pettinarip
approved these changes
Aug 21, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
The
cardvariant ofTableOfContentssetmin-w-80andmax-w-72on the same element, a 320px floor above a 288px ceiling — min wins in CSS, so the max was dead and the card always rendered at 320px. Both are replaced withw-80onroot, where the file's own comment says width caps belong. Rendered width is unchanged at 320px, verified at 1000/1200/1536px.