From: Tony Tsang Date: Mon, 5 Jan 2015 04:07:50 +0000 (+0800) Subject: Add max-width to commit message of repo-files-table X-Git-Tag: v0.9.99~1544^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f4e584122b231931ada88e2c813aa720b1bd56e;p=gitea.git Add max-width to commit message of repo-files-table --- 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 {