Skip to content

Fix mobile margin of the sharp hero cover - #1491

Merged
albig merged 2 commits into
mainfrom
dev-fix-1489
Nov 25, 2026
Merged

albig merged 2 commits into
mainfrom
dev-fix-1489

Conversation

@albig

@albig albig commented Nov 25, 2026

Copy link
Copy Markdown
Member

No description provided.

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.
@albig albig linked an issue Nov 25, 2026 that may be closed by this pull request
@albig
albig merged commit adee579 into main Nov 25, 2026
3 checks passed
@albig
albig deleted the dev-fix-1489 branch November 25, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mobile view in sharp design is wrong

1 participant