Commit 7b42b8b0 authored by Mark Otto's avatar Mark Otto
Browse files

fixes #8797: only expand submenu docs links at >768px

parent 6c44246d
No related merge requests found
Showing with 5 additions and 4 deletions
+5 -4
......@@ -261,12 +261,9 @@ body {
/* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav {
display: none;
display: none; /* Hide by default, but at >768px, show it */
margin-bottom: 8px;
}
.bs-sidebar .nav > .active > ul {
display: block;
}
.bs-sidebar .nav .nav > li > a {
padding-top: 3px;
padding-bottom: 3px;
......@@ -792,6 +789,10 @@ input.focused {
.bs-sidebar {
display: block;
}
/* Show the hidden subnavs when space allows it */
.bs-sidebar .nav > .active > ul {
display: block;
}
/* Tweak display of docs jumbotrons */
.bs-masthead {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment