Browse Source

Merge pull request #830 from TonyTsangHK/dev

Add max-width to commit message of repo-files-table
无闻 10 years ago
parent
commit
9e61ec316e
2 changed files with 8 additions and 0 deletions
  1. 3 0
      public/ng/css/gogs.css
  2. 5 0
      public/ng/less/gogs/repository.less

+ 3 - 0
public/ng/css/gogs.css

@@ -1250,6 +1250,9 @@ The register and sign-in page style
   color: #428BCA;
   text-decoration: underline;
 }
+#repo-files-table td.message .text-truncate {
+  max-width: 360px;
+}
 #repo-files-table tbody {
   background-color: #FFF;
 }

+ 5 - 0
public/ng/less/gogs/repository.less

@@ -281,6 +281,11 @@
         color: #428BCA;
         text-decoration: underline;
     }
+    td.message {
+        .text-truncate {
+            max-width: 360px;
+        }
+    }
     tbody {
         background-color: #FFF;
         tr:hover {