diff options
author | Tony Tsang <tony@uniongate.com.hk> | 2014-12-05 10:33:22 +0800 |
---|---|---|
committer | Tony Tsang <tony@uniongate.com.hk> | 2014-12-05 10:53:37 +0800 |
commit | d4a1d9f82a06fccb0b9d892b09b3271f85717f94 (patch) | |
tree | 9bc95f866b20038f167b6a9ba05e00f47399060b /public | |
parent | f7f4ea1dcf097d358cbebfc2afa25b6be1cf2620 (diff) | |
download | gitea-d4a1d9f82a06fccb0b9d892b09b3271f85717f94.tar.gz gitea-d4a1d9f82a06fccb0b9d892b09b3271f85717f94.zip |
Display multi-line commit message on commit diff page.
Diffstat (limited to 'public')
-rw-r--r-- | public/ng/css/gogs.css | 3 | ||||
-rw-r--r-- | public/ng/less/gogs/repository.less | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index dad84583d7..63cbd5b273 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -1510,6 +1510,9 @@ The register and sign-in page style .commit-list .message span { max-width: 500px; } +.commit-message { + white-space: pre-wrap; +} .diff-head-box { margin-top: 10px; } diff --git a/public/ng/less/gogs/repository.less b/public/ng/less/gogs/repository.less index 4eef314b50..4b7301be5d 100644 --- a/public/ng/less/gogs/repository.less +++ b/public/ng/less/gogs/repository.less @@ -535,6 +535,11 @@ } } } + +.commit-message { + white-space: pre-wrap; +} + .diff-head-box { margin-top: 10px; .panel-body { |