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/less | |
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/less')
-rw-r--r-- | public/less/_repository.less | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less index 9f51ebc4..366c92c4 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -247,10 +247,14 @@ max-width: 100%; } img { - padding: 5px 5px 0 5px; + margin-bottom: -5px; } } + .plain-text { + font-size: 14px; + padding: 10px 15px; + } .code-view { * { font-size: 12px; |