Kaynağa Gözat

fixed code view line height for firefox

Florian Hülsmann 10 yıl önce
ebeveyn
işleme
d06d58e461
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      public/ng/css/gogs.css
  2. 1 1
      public/ng/less/gogs/repository.less

+ 1 - 1
public/ng/css/gogs.css

@@ -1416,7 +1416,7 @@ The register and sign-in page style
 }
 .code-view .lines-num span {
   font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
-  line-height: 1.6;
+  line-height: 20px;
   padding: 0 10px;
   cursor: pointer;
   display: block;

+ 1 - 1
public/ng/less/gogs/repository.less

@@ -447,7 +447,7 @@
         width: 1%;
         span {
             font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
-            line-height: 1.6;
+            line-height: 20px;
             padding: 0 10px;  
             cursor: pointer;
             display: block;