From e3ce295215e6d2601ffe898704e8ef3e12e2d477 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 26 Apr 2018 17:05:30 -0400 Subject: [PATCH] public/css: generate CSS for PR #5169 --- gogs.go | 2 +- public/config.codekit | 4 ++-- public/css/gogs.css | 8 ++++++-- templates/.VERSION | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/gogs.go b/gogs.go index 1dac9f7e9..294f14119 100644 --- a/gogs.go +++ b/gogs.go @@ -16,7 +16,7 @@ import ( "github.com/gogits/gogs/pkg/setting" ) -const APP_VER = "0.11.48.0425" +const APP_VER = "0.11.48.0426" func init() { setting.AppVer = APP_VER diff --git a/public/config.codekit b/public/config.codekit index f7e0e7969..14304389e 100644 --- a/public/config.codekit +++ b/public/config.codekit @@ -1,6 +1,6 @@ { "CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit", -"creatorBuild": "19127", +"creatorBuild": "19115", "files": { "\/css\/github.min.css": { "fileType": 16, @@ -66,7 +66,7 @@ "fileType": 32768, "ignore": 0, "ignoreWasSetByUser": 0, - "initialSize": 514087, + "initialSize": 4048, "inputAbbreviatedPath": "\/img\/avatar_default.png", "outputAbbreviatedPath": "\/img\/avatar_default.png", "outputPathIsOutsideProject": 0, diff --git a/public/css/gogs.css b/public/css/gogs.css index eb2f64e6c..ed2f76f7f 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, diff --git a/templates/.VERSION b/templates/.VERSION index 8aa524aad..197cdbbfe 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.11.48.0425 \ No newline at end of file +0.11.48.0426 \ No newline at end of file