Document nav logo CSS specificity - #7075
Open
hamedrabah wants to merge 1 commit into
Open
Conversation
Author
|
Ready for review when a maintainer has a chance. This is a small docs-only correction for #6242, and the automated check is passing. Thank you! |
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.
Documentation changes
Clarifies that custom logo sizing should target
img.nav-logoand includes a CSS example that overrides the default Tailwind height utility while preserving the logo aspect ratio.Closes #6242
For Reviewers
Note
Low Risk
Documentation-only change to custom CSS guidance; no runtime or product code affected.
Overview
Updates the Topbar navigation element-selector docs for
nav-logoso custom sizing guidance matches how the logo is rendered in the template.The
nav-logoentry now states it applies to the logo image, explains that default size utilities needimg.nav-logowith!important, and adds a short CSS example (height: 3.75rem,width: auto) for overriding Tailwind height while keeping aspect ratio. Closes #6242.Reviewed by Cursor Bugbot for commit 4de4262. Bugbot is set up for automated code reviews on this repo. Configure here.