aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author无闻 <u@gogs.io>2015-01-05 20:45:06 +0800
committer无闻 <u@gogs.io>2015-01-05 20:45:06 +0800
commit9e61ec316e10e5ca9ba2eb3ac58ff04e4a85d285 (patch)
treede7f6dfafa500a1f08bad22da7fcf706a2a1a7fa
parent13e35398aa035ba9cc70c53af29828c5e9fd4d74 (diff)
parent9f4e584122b231931ada88e2c813aa720b1bd56e (diff)
Merge pull request #830 from TonyTsangHK/dev
Add max-width to commit message of repo-files-table
-rw-r--r--public/ng/css/gogs.css3
-rw-r--r--public/ng/less/gogs/repository.less5
2 files changed, 8 insertions, 0 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css
index aa5afaec..12ae89ed 100644
--- a/public/ng/css/gogs.css
+++ b/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;
}
diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less
index c06b016e..29178429 100644
--- a/public/ng/less/gogs/repository.less
+++ b/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 {