summaryrefslogtreecommitdiffstats
path: root/public/ng
diff options
context:
space:
mode:
authorTony Tsang <tony@tcnhk.com>2015-01-05 12:07:50 +0800
committerTony Tsang <tony@tcnhk.com>2015-01-05 12:22:20 +0800
commit9f4e584122b231931ada88e2c813aa720b1bd56e (patch)
treeb3969228da250d35edaf09b23c4725274fa586e5 /public/ng
parentd5c6b535715c9c791f6cff7e19c66cedd089c6d2 (diff)
downloadgitea-9f4e584122b231931ada88e2c813aa720b1bd56e.tar.gz
gitea-9f4e584122b231931ada88e2c813aa720b1bd56e.zip
Add max-width to commit message of repo-files-table
Diffstat (limited to 'public/ng')
-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 aa5afaec1d..12ae89ed4b 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 c06b016e2e..291784298c 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 {