Skip to content

Commit

Permalink
fixup css
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Jan 11, 2021
1 parent e305e28 commit 67510c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions web/cobrands/sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -764,15 +764,12 @@ html.mobile.js-nav-open #js-menu-open-modal {
background-color: rgba(0, 0, 0, 0.4);
}

// The nav list has this sort of "full width" look,
// so we want to cancel out the margin from .container
#main-nav {
margin: 0 -1em;
display: none;
position: absolute;
overflow: auto;
left: 1em;
right: 1em;
left: 0;
right: 0;
z-index: 1; // So appears over map
}

Expand Down
1 change: 0 additions & 1 deletion web/cobrands/sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ h1 {
@include flex-container();
@include flex-align(center);
float: $right; // we could use justify-content here, but float degrades better for non-flexbox browsers
margin: 0;
@if ($header-top-border) {
margin-top: $header-top-border-width * -1; // visually compensate for border on #site-header
}
Expand Down

0 comments on commit 67510c4

Please sign in to comment.