From 452aefd02511a7397a26105288f06a709ae372d2 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 26 Jul 2016 02:56:07 +0800 Subject: [PATCH] Fix issue event octicon CSS --- public/css/gogs.css | 6 +++++- public/less/_repository.less | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/public/css/gogs.css b/public/css/gogs.css index 681a9febedf4..f512a563a2db 100644 --- a/public/css/gogs.css +++ b/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 { diff --git a/public/less/_repository.less b/public/less/_repository.less index 403bb17b69b8..52d8399b5750 100644 --- a/public/less/_repository.less +++ b/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; } }