diff options
author | Unknwon <u@gogs.io> | 2015-12-25 05:45:07 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-25 05:45:07 -0500 |
commit | 93f03707a789a4d538c945c9838fa4ec4d3ef15c (patch) | |
tree | cdffa6724be6466da634e69abc03ab105e6f7ae1 /public | |
parent | 85af36332b89a42152c7e2b76af5e2aeb048103a (diff) | |
download | gitea-93f03707a789a4d538c945c9838fa4ec4d3ef15c.tar.gz gitea-93f03707a789a4d538c945c9838fa4ec4d3ef15c.zip |
#2283 set text/plain for non-binary files in raw mode
Diffstat (limited to 'public')
-rwxr-xr-x | public/css/gogs.css | 2 | ||||
-rw-r--r-- | public/less/_repository.less | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 7bd1d2254d..1ed66997d2 100755 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1902,7 +1902,7 @@ footer .container .links > *:first-child { margin-top: -2px; } .repository.file.list #file-content .view-raw * { - width: 100%; + max-width: 100%; } .repository.file.list #file-content .view-raw img { padding: 5px 5px 0 5px; diff --git a/public/less/_repository.less b/public/less/_repository.less index 14306ee8dd..9891886e88 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -181,7 +181,7 @@ } .view-raw { * { - width: 100%; + max-width: 100%; } img { padding: 5px 5px 0 5px; |