Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Commit

Permalink
fix(docs): fixed topnav left margin to avoid overflow scroll (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
evwilkin authored and redallen committed Oct 31, 2019
1 parent 31febbc commit 0561c57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions gatsby-theme-patternfly-org/components/topNav.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
@media (min-width: 992px) {
.ws-top-nav {
margin-left: -20px;
}
}

.ws-top-nav.pf-c-nav__horizontal-list .pf-c-nav__link {
padding-top: 22px;
padding-right: var(--pf-global--spacer--md);
Expand Down
7 changes: 7 additions & 0 deletions gatsby-theme-patternfly-org/layouts/sideNavLayout.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
background-color: #151515;
min-height: auto;
}

@media (min-width: 992px) {
.ws-page-header .pf-c-page__header-nav {
margin-left: 12px;
}
}

.ws-page-header .pf-c-nav__scroll-button {
outline-offset: -4px;
height: 100%;
Expand Down

0 comments on commit 0561c57

Please sign in to comment.