Skip to content

Commit

Permalink
fixing safari CSS problem
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf committed May 1, 2020
1 parent 68d6b32 commit 5d47c3e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sphinx_book_theme/static/sphinx-book-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ button.topbarbtn img {

.bd-toc {
padding: 0px !important;
overflow-y: hidden !important;
overflow-y: hidden;
background: white;
right: 0;
z-index: 999;
Expand Down Expand Up @@ -514,9 +514,10 @@ button.topbarbtn img {
}
}

// On hover or w/ a show calss, we show the TOC
// On hover or w/ a show class, we show the TOC
&:hover, &.show {
height: auto !important;
overflow-y: visible;
height: auto;
nav {
opacity: 1;
}
Expand Down

0 comments on commit 5d47c3e

Please sign in to comment.