Skip to content

Commit

Permalink
Workaround Safari bug when zooming to < 100% (#1389)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeray Diaz Diaz authored and waylan committed Jan 21, 2018
1 parent cd396ad commit 6265416
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mkdocs/themes/mkdocs/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,13 @@ footer {

/* Show and affix the side nav when space allows it */
@media (min-width: 992px) {
/* Workaround a Safari bug when zooming to < 100%
https://github.com/mkdocs/mkdocs/issues/1050 */
.col-md-9 {
box-sizing: border-box; /* csslint allow: box-sizing */
padding-left: 25%;
width: 100%;
}
.bs-sidebar .nav > .active > ul {
display: block;
}
Expand Down

0 comments on commit 6265416

Please sign in to comment.