Browse Source

#1599 org dashboard icon css

Unknwon 9 years ago
parent
commit
7b0ae27549
3 changed files with 6 additions and 3 deletions
  1. 0 0
      public/css/gogs.min.css
  2. 3 0
      public/less/_base.less
  3. 3 3
      templates/user/dashboard/navbar.tmpl

File diff suppressed because it is too large
+ 0 - 0
public/css/gogs.min.css


+ 3 - 0
public/less/_base.less

@@ -84,6 +84,9 @@ pre {
 		}
   }
 }
+i.icon {
+	margin-right: 0!important;
+}
 .ui {
 	&.left {
 		float: left;

+ 3 - 3
templates/user/dashboard/navbar.tmpl

@@ -31,13 +31,13 @@
   <div class="ui right">
     <div class="ui secondary head menu">
       <a class="{{if .PageIsNews}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/dashboard">
-        <i class="octicon octicon-rss"></i>&nbsp;{{.i18n.Tr "news_feed"}}
+        <i class="icon octicon octicon-rss"></i>&nbsp;{{.i18n.Tr "news_feed"}}
       </a>
       <a class="{{if .PageIsIssues}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/issues">
-        <i class="octicon octicon-issue-opened"></i>&nbsp;{{.i18n.Tr "issues"}}
+        <i class="icon octicon octicon-issue-opened"></i>&nbsp;{{.i18n.Tr "issues"}}
       </a>
       <a class="{{if .PageIsPulls}}active{{end}} item" href="{{AppSubUrl}}/org/{{.ContextUser.Name}}/pulls">
-        <i class="octicon octicon-git-pull-request"></i>&nbsp;{{.i18n.Tr "pull_requests"}}
+        <i class="icon octicon octicon-git-pull-request"></i>&nbsp;{{.i18n.Tr "pull_requests"}}
       </a>
       <div class="right menu">
         <div class="item">

Some files were not shown because too many files changed in this diff