Commit 826a8714 authored by Mark Otto's avatar Mark Otto

#3257: share .navbar-fixed-top styles with .navbar-fixed-bottom

parent ea156609
......@@ -683,11 +683,18 @@
body {
padding-top: 0;
}
.navbar-fixed-top {
.navbar-fixed-top,
.navbar-fixed-bottom {
position: static;
}
.navbar-fixed-top {
margin-bottom: 18px;
}
.navbar-fixed-top .navbar-inner {
.navbar-fixed-bottom {
margin-top: 18px;
}
.navbar-fixed-top .navbar-inner,
.navbar-fixed-bottom .navbar-inner {
padding: 5px;
}
.navbar .container {
......
......@@ -9,11 +9,18 @@
padding-top: 0;
}
// Unfix the navbar
.navbar-fixed-top {
.navbar-fixed-top,
.navbar-fixed-bottom {
position: static;
}
.navbar-fixed-top {
margin-bottom: @baseLineHeight;
}
.navbar-fixed-top .navbar-inner {
.navbar-fixed-bottom {
margin-top: @baseLineHeight;
}
.navbar-fixed-top .navbar-inner,
.navbar-fixed-bottom .navbar-inner {
padding: 5px;
}
.navbar .container {
......
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