Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sets site name to align left if no menu items present #293

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

markconroy
Copy link
Member

Closes #291

What does this change?

Does a bit of funky/crazy CSS :has:not:has dancing to figure out if the header items should use justify-content: space-between or justify-content: start.

How to test

  1. Create a microsite
  2. Add a menu
  3. Enable 'Show site name'
  4. Make sure all is fine
  5. Delete the menu items
  6. Make sure the site logo and site name remain on the left

@stephen-cox stephen-cox requested a review from msayoung December 17, 2024 12: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.

Alignment of site header branding elements
1 participant