Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Simplify dark header template and pattern. #96

Merged
merged 3 commits into from Oct 13, 2021

Conversation

kjellr
Copy link
Collaborator

@kjellr kjellr commented Oct 13, 2021

This PR simplifies the block setup for the Dark header template and pattern (used on the homepage).

  • It relies on the recently-merged Add wide + full support to the site tagline block gutenberg#35589 to make the site tagline wide-width. Previously, the tagline was wrapped in a columns block that added a bunch of extra unnecessary margins.
  • Since that weird extra margin is gone, this PR also re-adjusts some of the paddings/margin to make things look a little bit more even.

When testing, you'll need to be running the latest Gutenberg trunk. (If it works, I think it's fine to merge this in now, even though that change hasn't made it to the plugin yet).

Before After
Screen Shot 2021-10-13 at 09 01 33 Screen Shot 2021-10-13 at 09 01 06


<!-- wp:site-title {"style":{"typography":{"fontStyle":"italic","fontWeight":"400"}}} /--></div>
<!-- /wp:group -->

<!-- wp:navigation {"itemsJustification":"right","isResponsive":true} -->
<!-- wp:navigation {"itemsJustification":"right"} -->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to remove the isResponsive attribute?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not! Weird. I'll put it back in.

Copy link
Collaborator

@jffng jffng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment about responsive menu on the nav, otherwise this LGTM.

@kjellr kjellr merged commit 0c8dc7a into trunk Oct 13, 2021
@kjellr kjellr deleted the update/dark-header-template branch October 13, 2021 14:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants