Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing safari CSS problem #81

Merged
merged 1 commit into from
May 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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