Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2013-12-14 11:06:04 +0400
committerMark Otto <otto@github.com>2013-12-14 11:06:04 +0400
commit22820d7151fa155a4e083bf6c940a52e55138735 (patch)
treed1966d646db80fbf41283593c77b5f528cb46875 /less/navbar.less
parentce07ff84cd554e4381760bc4cf476264ca6ca1d5 (diff)
Fixes #10495: Float Glyphicon and set margins in .navbar-brand to ensure there is no added height because wtf even is CSS
Diffstat (limited to 'less/navbar.less')
-rw-r--r--less/navbar.less7
1 files changed, 7 insertions, 0 deletions
diff --git a/less/navbar.less b/less/navbar.less
index 51e3df2589..3f8698d096 100644
--- a/less/navbar.less
+++ b/less/navbar.less
@@ -161,6 +161,13 @@
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) {
.navbar > .container &,
.navbar > .container-fluid & {