Repository navigation
Fix mobile margin of the sharp hero cover - #1491
Merged
Merged
Conversation
The first submenu level inherits the white panel background of the desktop dropdown from _navigation.scss. Both rules had specificity (0,6,0), so only the import order of header before navigation decided it, and the white won. The mobile menu now sets the background from the colour scheme at (0,7,1) instead of relying on that order.
Without a top menu the hero had no top margin on mobile and ended up under the brand and the hamburger: the mobile header contributes no height, and the only rule giving it a margin was scoped to variants are identical. The formstyle-sharp hero rules also move from _generic.scss into the cover partial, next to the other cover styles.
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.
No description provided.