0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

fix afffix

This commit is contained in:
Jacob Thornton 2012-08-20 16:43:49 -07:00
parent 2b5e09038a
commit 9e0d87a4dd

View File

@ -763,7 +763,7 @@ form.bs-docs-example {
.bs-docs-sidenav { .bs-docs-sidenav {
width: 228px; width: 228px;
margin: 30px 0 20px; margin: 30px 0 0;
padding: 0; padding: 0;
background-color: #fff; background-color: #fff;
-webkit-border-radius: 6px; -webkit-border-radius: 6px;
@ -885,6 +885,9 @@ form.bs-docs-example {
width: 166px; width: 166px;
margin-top: 20px; margin-top: 20px;
} }
.bs-docs-sidenav.affix {
top: 0;
}
} }
/* Tablet /* Tablet
@ -924,6 +927,7 @@ form.bs-docs-example {
/* Sidenav */ /* Sidenav */
.bs-docs-sidenav { .bs-docs-sidenav {
width: auto; width: auto;
margin-bottom: 20px;
} }
.bs-docs-sidenav.affix { .bs-docs-sidenav.affix {
position: static; position: static;