Skip to content

Commit

Permalink
Restrict flex-shrink for header items on grid view (prevents overlap …
Browse files Browse the repository at this point in the history
…of elements + forces scrolling). Resolves #4.
  • Loading branch information
mor10 committed Aug 10, 2017
1 parent 9a73ae6 commit 65226ba
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sass/maps/style.css.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions sass/site/header/_header-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ button.dropdown-toggle {
}

.main-navigation {
flex: 1 0 auto;

ul {
display: block;
padding-top: 2em;
Expand Down
5 changes: 5 additions & 0 deletions sass/site/header/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
display: flex;
flex-direction: column;
align-items: center;

}

.custom-logo-link {
Expand Down Expand Up @@ -68,6 +69,10 @@
flex-direction: column;
justify-content:flex-start;
}

.site-branding {
flex: 1 0 auto;
}
}

@supports (grid-area: auto) {
Expand Down
10 changes: 10 additions & 0 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 65226ba

Please sign in to comment.