From 451f328a4cd651259bf173f99a37cd0feb866e32 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 13 Oct 2014 03:07:47 -0400 Subject: [PATCH] Fix #457 and fix #557 --- gogs.go | 2 +- public/ng/css/gogs.css | 6 ++---- public/ng/less/gogs/repository.less | 12 +++++------- templates/.VERSION | 2 +- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/gogs.go b/gogs.go index 85a5626cf9..e0ecec251a 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.5.5.1011 Beta" +const APP_VER = "0.5.5.1013 Beta" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index 6c8211c70c..52a503cc4d 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -1402,12 +1402,10 @@ The register and sign-in page style } .code-view .lines-num span { font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - line-height: 18px; - padding: 0 8px 0 10px; + line-height: 1.6; + padding: 0 10px; cursor: pointer; display: block; - margin-top: 2px; - font-size: 12px; } .code-view .lines-code > pre { border: none; diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less index 717c0d0e8e..423aeeb65d 100644 --- a/public/ng/less/gogs/repository.less +++ b/public/ng/less/gogs/repository.less @@ -444,13 +444,11 @@ background: #f5f5f5; width: 1%; span { - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - line-height: 18px; - padding: 0 8px 0 10px; - cursor: pointer; - display: block; - margin-top: 2px; - font-size: 12px; + font-family: Monaco,Menlo,Consolas,"Courier New",monospace; + line-height: 1.6; + padding: 0 10px; + cursor: pointer; + display: block; } } .lines-code > pre { diff --git a/templates/.VERSION b/templates/.VERSION index 3f42d63cf3..6955a87118 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.5.5.1011 Beta \ No newline at end of file +0.5.5.1013 Beta \ No newline at end of file