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

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

parent 6c44246d
...@@ -261,12 +261,9 @@ body { ...@@ -261,12 +261,9 @@ body {
/* Nav: second level (shown on .active) */ /* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav { .bs-sidebar .nav .nav {
display: none; display: none; /* Hide by default, but at >768px, show it */
margin-bottom: 8px; margin-bottom: 8px;
} }
.bs-sidebar .nav > .active > ul {
display: block;
}
.bs-sidebar .nav .nav > li > a { .bs-sidebar .nav .nav > li > a {
padding-top: 3px; padding-top: 3px;
padding-bottom: 3px; padding-bottom: 3px;
...@@ -792,6 +789,10 @@ input.focused { ...@@ -792,6 +789,10 @@ input.focused {
.bs-sidebar { .bs-sidebar {
display: block; display: block;
} }
/* Show the hidden subnavs when space allows it */
.bs-sidebar .nav > .active > ul {
display: block;
}
/* Tweak display of docs jumbotrons */ /* Tweak display of docs jumbotrons */
.bs-masthead { .bs-masthead {
......
Markdown is supported
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