From b3f0d25ce5966972ac1b9703672a8512400423a6 Mon Sep 17 00:00:00 2001 From: fuxiaohei Date: Tue, 23 Sep 2014 23:48:28 +0800 Subject: pull request ui review, change sidebar --- public/ng/less/gogs/repository.less | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'public/ng/less/gogs') diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less index 973d7bfd..840db2ab 100644 --- a/public/ng/less/gogs/repository.less +++ b/public/ng/less/gogs/repository.less @@ -134,6 +134,9 @@ } li > a { position: relative; + padding-left: 12px; + width: 24px; + text-align: center; > i.octicon{ font-size: 21px; } @@ -142,16 +145,15 @@ position: absolute; font-size: 12px; top:0; - left: 40px; - width: 20px; - height: 20px; - padding-left: 0; - padding-right: 0; + left: 36px; + padding: 0 2px; + min-width: 16px; + height: 16px; text-align: center; - line-height: 20px; + line-height: 16px; border-radius: 4px; opacity: 0.7; - -webkit-transform: scale(0.85); + -webkit-transform: scale(0.9); font-weight: bold; } } -- cgit v1.2.3