Browse Source

Fix issue event octicon CSS

Unknwon 8 years ago
parent
commit
452aefd025
2 changed files with 10 additions and 2 deletions
  1. 5 1
      public/css/gogs.css
  2. 5 1
      public/less/_repository.less

+ 5 - 1
public/css/gogs.css

@@ -1559,20 +1559,24 @@ footer .ui.language .menu {
 .repository.view.issue .comment-list .event .octicon {
   width: 30px;
   float: left;
-  margin-left: -36px;
   text-align: center;
 }
 .repository.view.issue .comment-list .event .octicon.octicon-circle-slash {
   margin-top: 5px;
+  margin-left: -34.5px;
   font-size: 20px;
   color: #bd2c00;
 }
 .repository.view.issue .comment-list .event .octicon.octicon-primitive-dot {
+  margin-left: -28.5px;
+  margin-right: -1px;
   font-size: 30px;
   color: #6cc644;
 }
 .repository.view.issue .comment-list .event .octicon.octicon-bookmark {
   margin-top: 3px;
+  margin-left: -31px;
+  margin-right: -1px;
   font-size: 25px;
 }
 .repository.view.issue .comment-list .event .detail {

+ 5 - 1
public/less/_repository.less

@@ -486,19 +486,23 @@
 				.octicon {
 					width: 30px;
 					float: left;
-					margin-left: -36px;
 					text-align: center;
 					&.octicon-circle-slash {
 						margin-top: 5px;
+						margin-left: -34.5px;
 						font-size: 20px;
 						color: #bd2c00;
 					}
 					&.octicon-primitive-dot {
+						margin-left: -28.5px;
+						margin-right: -1px;
 						font-size: 30px;
 						color: #6cc644;
 					}
 					&.octicon-bookmark {
 						margin-top: 3px;
+						margin-left: -31px;
+						margin-right: -1px;
 						font-size: 25px;
 					}
 				}