fix(docs): keep RTD version-warning notification clear of the site header#16870
Merged
Merged
Conversation
…ader The Read the Docs Addons "old version" notification renders as a fixed toast at top:2rem / z-index:1750 inside its own shadow DOM. The custom Solidity docs header (.unified-header) is position:fixed, --navHeight tall, at z-index:99999, so it both overlaps the toast vertically and paints over it, leaving the notification effectively invisible. Style the notification host element to sit below the header and above its z-index. The transform makes the host the containing block for the addon's fixed toast, shifting its internal top:2rem offset down past the header. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
clonker
approved these changes
Jul 14, 2026
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.
The Read the Docs version-warning notification renders behind our fixed site header (the header's
z-index: 99999covers the toast'sz-index: 1750, and they overlap vertically), so it's effectively invisible on older-version pages.Example: https://docs.soliditylang.org/en/v0.8.30/
This styles the notification host to sit below the header and above its
z-index.🤖 Generated with Claude Code