From e3ce295215e6d2601ffe898704e8ef3e12e2d477 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 26 Apr 2018 17:05:30 -0400 Subject: public/css: generate CSS for PR #5169 --- public/css/gogs.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'public/css') diff --git a/public/css/gogs.css b/public/css/gogs.css index eb2f64e6..ed2f76f7 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1492,12 +1492,15 @@ footer .ui.language .menu { .repository.file.list #file-content .code-view table { width: 100%; } +.repository.file.list #file-content .code-view table tbody tr { + padding: 0 !important; +} .repository.file.list #file-content .code-view .lines-num { vertical-align: top; text-align: right; color: #999; background: #f5f5f5; - width: 1%; + width: 42px; } .repository.file.list #file-content .code-view .lines-num span { line-height: 20px; @@ -1507,7 +1510,8 @@ footer .ui.language .menu { } .repository.file.list #file-content .code-view .lines-num, .repository.file.list #file-content .code-view .lines-code { - padding: 0; + display: table-cell !important; + padding: 0 !important; } .repository.file.list #file-content .code-view .lines-num pre, .repository.file.list #file-content .code-view .lines-code pre, -- cgit v1.2.3