diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-10-13 03:07:47 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-10-13 03:07:47 -0400 |
commit | 451f328a4cd651259bf173f99a37cd0feb866e32 (patch) | |
tree | 2395eb71eadf36df1c82428962866cddeeb7230c /public | |
parent | b93ae452fee5308e2cc052a0940b36cb550ad958 (diff) | |
download | gitea-451f328a4cd651259bf173f99a37cd0feb866e32.tar.gz gitea-451f328a4cd651259bf173f99a37cd0feb866e32.zip |
Fix #457 and fix #557
Diffstat (limited to 'public')
-rw-r--r-- | public/ng/css/gogs.css | 6 | ||||
-rw-r--r-- | public/ng/less/gogs/repository.less | 12 |
2 files changed, 7 insertions, 11 deletions
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 { |