Commit e38fd138 authored by Alan Hamlett's avatar Alan Hamlett

fixes #10495 by forcing .navbar-brand height to prevent it's inner content...

fixes #10495 by forcing .navbar-brand height to prevent it's inner content from increasing navbar height
parent 3157a377
...@@ -3739,16 +3739,12 @@ textarea.input-group-sm > .input-group-btn > .btn { ...@@ -3739,16 +3739,12 @@ textarea.input-group-sm > .input-group-btn > .btn {
padding: 15px 15px; padding: 15px 15px;
font-size: 18px; font-size: 18px;
line-height: 20px; line-height: 20px;
height: 20px;
} }
.navbar-brand:hover, .navbar-brand:hover,
.navbar-brand:focus { .navbar-brand:focus {
text-decoration: none; text-decoration: none;
} }
.navbar-brand > .glyphicon {
float: left;
margin-top: -2px;
margin-right: 5px;
}
@media (min-width: 768px) { @media (min-width: 768px) {
.navbar > .container .navbar-brand, .navbar > .container .navbar-brand,
.navbar > .container-fluid .navbar-brand { .navbar > .container-fluid .navbar-brand {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -155,19 +155,13 @@ ...@@ -155,19 +155,13 @@
padding: @navbar-padding-vertical @navbar-padding-horizontal; padding: @navbar-padding-vertical @navbar-padding-horizontal;
font-size: @font-size-large; font-size: @font-size-large;
line-height: @line-height-computed; line-height: @line-height-computed;
height: @line-height-computed;
&:hover, &:hover,
&:focus { &:focus {
text-decoration: none; text-decoration: none;
} }
// Prevent Glyphicons from increasing height of navbar
> .glyphicon {
float: left;
margin-top: -2px;
margin-right: 5px;
}
@media (min-width: @grid-float-breakpoint) { @media (min-width: @grid-float-breakpoint) {
.navbar > .container &, .navbar > .container &,
.navbar > .container-fluid & { .navbar > .container-fluid & {
......
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