Top and Bottom Padding should be removed from navbar-brand
When using a theme other than 'default', a custom logo that is too big won't be sized to fit inside of the header exactly perfectly. The 'default' theme does this. The style just needs to be moved outside of 'default' theme to be global. Change-Id: I241e49ad94cba24592209f5f4f23eedeb0e592a6 Closes-Bug: #1518123
This commit is contained in:
parent
7e357e7507
commit
171f835fc4
@ -1,4 +1,14 @@
|
||||
.navbar-brand img {
|
||||
max-height: $navbar-height;
|
||||
vertical-align: middle;
|
||||
.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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user