Browse Source

Merge pull request #1092 from sapk/fix-dashboard-navbar

Fix the little default in the navbar of the dashboard
pull/1105/head
无闻 10 years ago
parent
commit
7fe68d3db7
  1. 3
      public/ng/css/gogs.css
  2. 3
      public/ng/less/gogs/dashboard.less

3
public/ng/css/gogs.css

@ -732,7 +732,8 @@ ol.linenums {
#dashboard-header > .menu-line > li.right > a { #dashboard-header > .menu-line > li.right > a {
font-size: 1.2em; font-size: 1.2em;
color: #444444; color: #444444;
padding: .4em .8em; margin: -12px 0px;
padding: 22px 0.8em;
} }
#dashboard-header > .menu-line > li.right > a:hover { #dashboard-header > .menu-line > li.right > a:hover {
background-color: transparent; background-color: transparent;

3
public/ng/less/gogs/dashboard.less

@ -27,7 +27,8 @@
> a { > a {
font-size: 1.2em; font-size: 1.2em;
color: @dashboardHeaderLinkColor; color: @dashboardHeaderLinkColor;
padding: .4em .8em; margin: -12px 0px;
padding: 22px 0.8em;
&:hover { &:hover {
background-color: transparent; background-color: transparent;
color: @dashboardHeaderLinkHoverColor; color: @dashboardHeaderLinkHoverColor;

Loading…
Cancel
Save