Top Nav shouldn't include giant bottom margin
In the 'default' and 'material' themes, we remove the default bootstrap margin on the top navbar because it creates a gap between the sidenav and the topnav. This should be a global style so that other themes can take advantage of it. It looks best with a single 1px value on alternate themes. Change-Id: Ie0f3e5e22c29fe737d128af6d2fd6499fe9ee99a Closes-Bug: #1518455
This commit is contained in:
parent
171f835fc4
commit
521712a262
@ -12,3 +12,9 @@
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.topbar {
|
||||
.navbar {
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,9 @@
|
||||
.navbar {
|
||||
margin-bottom: 0;
|
||||
border-top: none;
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
|
||||
// Specificity Required
|
||||
.navbar-toggle {
|
||||
border-color: transparent;
|
||||
}
|
||||
@ -13,3 +13,10 @@
|
||||
margin-top: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
// Specificity required
|
||||
.topbar {
|
||||
.navbar {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
@ -30,10 +30,6 @@
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
z-index: 4;
|
||||
|
||||
.navbar {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user