Skip to content

Commit 9e0d87a

Browse files
committed
fix afffix
1 parent 2b5e090 commit 9e0d87a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/assets/css/docs.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ form.bs-docs-example {
763763

764764
.bs-docs-sidenav {
765765
width: 228px;
766-
margin: 30px 0 20px;
766+
margin: 30px 0 0;
767767
padding: 0;
768768
background-color: #fff;
769769
-webkit-border-radius: 6px;
@@ -885,6 +885,9 @@ form.bs-docs-example {
885885
width: 166px;
886886
margin-top: 20px;
887887
}
888+
.bs-docs-sidenav.affix {
889+
top: 0;
890+
}
888891
}
889892

890893
/* Tablet
@@ -924,6 +927,7 @@ form.bs-docs-example {
924927
/* Sidenav */
925928
.bs-docs-sidenav {
926929
width: auto;
930+
margin-bottom: 20px;
927931
}
928932
.bs-docs-sidenav.affix {
929933
position: static;

0 commit comments

Comments
 (0)