diff options
author | Unknwon <u@gogs.io> | 2017-01-25 07:10:52 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-01-25 07:10:52 -0500 |
commit | 8cb903fbbb6de5decb443af1481b44b5c1a426d1 (patch) | |
tree | 78c577d42471344c06a876609c5766689f3758c1 /public/css | |
parent | d1c327d508e5d3c1ad9237ccf7c7d5b6cc21be8a (diff) |
Fix unexpected rendering of README when it is not in Markdown
This patch also handles case when a file name looks like README
but is not a text file (e.g. image, PDF).
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/gogs.css | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css index 3832c30f..ab8c6569 100644 --- a/public/css/gogs.css +++ b/public/css/gogs.css @@ -1303,7 +1303,11 @@ footer .ui.language .menu { max-width: 100%; } .repository.file.list #file-content .view-raw img { - padding: 5px 5px 0 5px; + margin-bottom: -5px; +} +.repository.file.list #file-content .plain-text { + font-size: 14px; + padding: 10px 15px; } .repository.file.list #file-content .code-view * { font-size: 12px; |