Repository navigation
fix(website): Discord pill in the header, and editor captions that fit their translation - #1171
Conversation
A community link, so it sits with GitHub's and in the same style, not among the site's own pages on the left.
The slot was a fixed 118px, sized for the English captions. The French ones wrap to more lines, and their last line ran under the inspector panel. The driver now measures the tallest caption and --cap-h grows to it, with the same air.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Two small website fixes.
--cap-content) and--cap-hgrows to it, with the same air (23px landscape, 1px portrait). It is declared on.stage, where the driver writes the variable, since a custom property resolves where it is declared.Checked on the docs dev server: the Discord pill renders beside GitHub (en), and in French at 1440 and 1100 px the tallest caption measures 121px, the slot becomes 144px and the panel starts below it. Not checked by eye at the exact cursor beat, only by measurement.
🤖 Generated with Claude Code
Summary by CodeRabbit