Skip to content

Commit 44a4ef4

Browse files
committed
jquery: adjust site nav line-height
Set the amount via line-height to match the previous height exactly, rather than approximating via padding. Ref #451
1 parent cdbfde9 commit 44a4ef4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

themes/jquery/css/base.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1656,7 +1656,8 @@ nav#main li {
16561656
nav#main li a {
16571657
color: #fff;
16581658
text-decoration: none;
1659-
padding: 2px 10px;
1659+
padding: 0 10px;
1660+
line-height: 32px;
16601661
display: block;
16611662
border: 1px solid transparent;
16621663
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.76);

0 commit comments

Comments
 (0)