From 89633d84e42bd57b672f90ed0ad0f8f543fddbbb Mon Sep 17 00:00:00 2001 From: Raypresto Date: Wed, 5 Nov 2014 09:36:52 +0000 Subject: [PATCH] Update to ng/gogs.css to fix line number spacing Issue with viewing source code in firefox, line numbers do not match up with displayed line numbers, this can be fixed by setting the line height to 20px --- public/ng/css/gogs.css | 1 + 1 file changed, 1 insertion(+) diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index 91588d991..d92f7ad34 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -1420,6 +1420,7 @@ The register and sign-in page style } .code-view .lines-code > pre > ol.linenums > li { padding: 0 10px; + line-height: 20px; } .code-view .lines-code > pre > ol.linenums > li.active { background: #ffffdd;