Skip to content

Prevent unreleased version header overflow on mobile#4094

Merged
Madoshakalaka merged 1 commit intomasterfrom
fix/unreleased-header-overflow
Mar 31, 2026
Merged

Prevent unreleased version header overflow on mobile#4094
Madoshakalaka merged 1 commit intomasterfrom
fix/unreleased-header-overflow

Conversation

@Madoshakalaka
Copy link
Copy Markdown
Member

Description

Fixes #4041

Checklist

  • I have tested and it fixes the header across screen dimensions

Remove fixed height and use auto-sizing padding instead. On mobile
(≤700px), switch from absolute to relative positioning so the banner
flows naturally in rustdoc's block layout without overlapping the
sticky topbar.
@Madoshakalaka Madoshakalaka added documentation meta Repository chores and tasks labels Mar 31, 2026
@Madoshakalaka Madoshakalaka merged commit 19588e9 into master Mar 31, 2026
3 checks passed
@Madoshakalaka Madoshakalaka deleted the fix/unreleased-header-overflow branch March 31, 2026 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation meta Repository chores and tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The "unreleased version header" text overflows on smaller phones

1 participant