Skip to content

Commit

Permalink
add temporary fix for navbar overflow issue (facebook#2358)
Browse files Browse the repository at this point in the history
* add temporary fix for navbar overflow issue

* small tweak
  • Loading branch information
Simek authored Nov 30, 2020
1 parent 27a3372 commit 87fa863
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions website/src/css/customTheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,17 @@ html[data-theme="dark"] .navbar-sidebar {
background: var(--ifm-background-color);
}

@media (max-width: 750px) {
.navbar .DocSearch-Button {
padding: 0 12px;
@media (max-width: 1080px) {
.navbar {
.DocSearch-Button {
padding: 0 12px;
}

.DocSearch-Button-Key,
.DocSearch-Button-KeySeparator,
.DocSearch-Button-Placeholder {
display: none;
}
}
}

Expand Down

0 comments on commit 87fa863

Please sign in to comment.