Преглед изворни кода

public/css: generate CSS for PR #5169

Unknwon пре 6 година
родитељ
комит
e3ce295215
4 измењених фајлова са 10 додато и 6 уклоњено
  1. 1 1
      gogs.go
  2. 2 2
      public/config.codekit
  3. 6 2
      public/css/gogs.css
  4. 1 1
      templates/.VERSION

+ 1 - 1
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

+ 2 - 2
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,

+ 6 - 2
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,

+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.11.48.0425
+0.11.48.0426