Merge "Top and Bottom Padding should be removed from navbar-brand"

This commit is contained in:
Jenkins 2015-11-24 18:03:28 +00:00 committed by Gerrit Code Review
commit ab7d5c3ec5
2 changed files with 13 additions and 15 deletions

View File

@ -1,4 +1,14 @@
.navbar-brand img {
.navbar-brand {
padding: 0 $padding-small-horizontal;
margin: 0;
display: block;
// These allow the vertical centering to work properly
line-height: $navbar-height;
font-size: 0;
img {
max-height: $navbar-height;
vertical-align: middle;
}
}

View File

@ -1,15 +1,3 @@
.navbar-brand {
display: block;
padding: 0 $padding-small-horizontal;
&:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
}
.navbar {
margin-bottom: 0;
border-top: none;