From e893c04a6550994bfb59a6d08baf4f090d67dc1a Mon Sep 17 00:00:00 2001 From: xtcsvirus Date: Tue, 14 Oct 2014 10:22:10 +0200 Subject: [PATCH] Some header height improvements. --- public/ng/less/gogs/base.less | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/ng/less/gogs/base.less b/public/ng/less/gogs/base.less index a3a7c2ffe..b0ed280d4 100644 --- a/public/ng/less/gogs/base.less +++ b/public/ng/less/gogs/base.less @@ -110,10 +110,10 @@ clear: both; } #header { background-color: @headerBgColor; - height: 44px; > .menu-line { > li > a { - display: inline-block; + line-height: 44px; + padding: 0 1.2em; color:@headerLinkFontColor; &:hover { background-color: transparent; @@ -144,7 +144,8 @@ clear: both; color: @headerSignOutColor !important; } #header-nav-logo { - padding: 6px 1.2em; + line-height: 44px; + padding: 0 1.2em; } #header-nav-explore, #header-nav-help { @@ -295,4 +296,4 @@ clear: both; .list-unstyled { padding-left: 0; list-style: none; -} \ No newline at end of file +}