Skip to content

Commit

Permalink
Rebuild styles, fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Oct 25, 2024
2 parents 74ea415 + 0673ba1 commit 2688e21
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 7 deletions.
14 changes: 11 additions & 3 deletions css/dev/global.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/dev/gutenberg-editor-styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/prod/global.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion sass/layout/_site-header.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// The very top of the site, element that usually includes
// the site navigation and search for example.
.site-header {
align-items: center;
align-items: flex-start;
column-gap: var(--grid-gap);
display: flex;
justify-content: space-between;
margin-left: auto;
Expand Down
6 changes: 5 additions & 1 deletion sass/navigation/_nav-desktop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

// Navigation wrapper
.nav-primary {
line-height: 0;
padding-bottom: 0;
padding-top: 0;
}
Expand All @@ -52,11 +53,14 @@
.menu-items {
align-items: center;
background-color: transparent;
column-gap: var(--gap-main-level-horizontal);
display: flex;
gap: var(--gap-main-level-horizontal);
flex-wrap: wrap;
justify-content: flex-end;
margin: 0;
padding: 0;
position: relative;
row-gap: 1rem;
}

// Navigation list item
Expand Down
5 changes: 5 additions & 0 deletions sass/navigation/_nav-mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
background-color: var(--color-background-nav-mobile-header);
}

// Fix burger navigation sometimes not being centered vertically
.nav-primary {
align-self: center;
}

// General navigation resets for mobile
.site-header ul,
.site-header li,
Expand Down

0 comments on commit 2688e21

Please sign in to comment.