1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-24 03:40:10 +00:00

remove relative and top positioning from docs sidenav at narrow layout

This commit is contained in:
Mark Otto 2012-08-20 11:28:30 -07:00
parent 2fda6a45aa
commit e59642838f

View File

@ -760,10 +760,9 @@ form.bs-docs-example {
.bs-docs-sidenav { .bs-docs-sidenav {
width: 228px; width: 228px;
margin-top: 30px; margin: 30px 0 20px;
padding: 0; padding: 0;
background-color: #fff; background-color: #fff;
margin-left: 0;
-webkit-border-radius: 6px; -webkit-border-radius: 6px;
-moz-border-radius: 6px; -moz-border-radius: 6px;
border-radius: 6px; border-radius: 6px;
@ -924,8 +923,9 @@ form.bs-docs-example {
width: auto; width: auto;
} }
.bs-docs-sidenav.affix { .bs-docs-sidenav.affix {
position: relative; position: static;
width: auto; width: auto;
top: 0;
} }
/* Unfloat the back to top link in footer */ /* Unfloat the back to top link in footer */