Skip to content

Commit d30ce82

Browse files
committed
fix(typography): top menu bar does not have correct height
1 parent f6a83a6 commit d30ce82

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

static/bootstrap/navbar.less

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,6 @@
240240

241241
// Links
242242
.navbar .nav > li > a {
243-
float: none;
244-
// Vertically center the text given @navbarHeight
245-
padding: ((@navbarHeight - @baseLineHeight) / 2) 15px ((@navbarHeight - @baseLineHeight) / 2);
246243
color: @navbarLinkColor;
247244
text-decoration: none;
248245
text-shadow: 0 1px 0 @navbarBackgroundHighlight;

static/css/elegant.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,3 +486,7 @@ table tbody:last-child tr:last-child > td:last-child {
486486
table tbody > tr:nth-child(odd) > td {
487487
background-color: #ebebeb;
488488
}
489+
.navbar .nav > li > a {
490+
float: none;
491+
padding: 11px 15px 13px;
492+
}

static/css/typography.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ pre,
139139
}
140140
.brand .site-name {
141141
font-size: 1.5rem;
142+
vertical-align: middle;
142143
}
143144
/* article */
144145
.article-content,
@@ -186,3 +187,6 @@ span.superscript {
186187
font-size: 0.67rem;
187188
vertical-align: super;
188189
}
190+
.navbar .nav > li > a {
191+
font-size: 1rem;
192+
}

0 commit comments

Comments
 (0)