1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

#2283 set text/plain for non-binary files in raw mode

This commit is contained in:
Unknwon
2015-12-25 05:45:07 -05:00
parent 85af36332b
commit 93f03707a7
5 changed files with 10 additions and 4 deletions

View File

@@ -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;

View File

@@ -181,7 +181,7 @@
}
.view-raw {
* {
width: 100%;
max-width: 100%;
}
img {
padding: 5px 5px 0 5px;