Skip to content

fix: Enhance masthead for compact mode with brand visibility - #34

Merged
oto-macenauer-absa merged 1 commit into
masterfrom
feature/compact-masthead
Aug 3, 2026
Merged

fix: Enhance masthead for compact mode with brand visibility#34
oto-macenauer-absa merged 1 commit into
masterfrom
feature/compact-masthead

Conversation

@oto-macenauer-absa

Copy link
Copy Markdown
Collaborator

This pull request updates the masthead component to support a more compact layout on app pages and introduces a brand wordmark display. The main changes involve conditional rendering and new CSS rules to visually distinguish between the library and app pages.

Masthead layout improvements:

  • The masthead (mp-masthead) now conditionally applies a mp-masthead--compact class when viewing an app page, resulting in a more streamlined appearance with only the navigation strip visible.
  • In compact mode, the brand wordmark (mp-masthead-brand) is displayed in the left gutter on larger screens, while the eyebrow, title, and description elements are hidden for clarity. [1] [2]

Styling enhancements:

  • Added new CSS rules for .mp-masthead--compact and .mp-masthead-brand to control layout, spacing, and responsive behavior, ensuring the brand is only shown on larger screens and the masthead adapts appropriately.

Release notes:

  • Use compact mast head for subpages

Related:

@oto-macenauer-absa
oto-macenauer-absa merged commit e7c97a0 into master Aug 3, 2026
5 checks passed
@oto-macenauer-absa
oto-macenauer-absa deleted the feature/compact-masthead branch August 3, 2026 10:40
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.

feat(masthead): compact navbar mode for non-Library pages

1 participant