1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

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

This commit is contained in:
Mark Otto 2013-07-29 12:28:54 -07:00
parent 6c44246dc9
commit 7b42b8b0fe

View file

@ -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 {