diff options
author | Andrey Nering <andrey.nering@gmail.com> | 2016-08-11 20:16:36 -0300 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-08-11 16:16:36 -0700 |
commit | 25b23c4bc991644c7db47b484dca3bb2d2694e62 (patch) | |
tree | e73bc7c63cf91870df49cd2cb3c91c9e7ef152ea /public/less | |
parent | 7eafe3213f456bb4fcbaeea5562ab60c4ef6cf87 (diff) | |
download | gitea-25b23c4bc991644c7db47b484dca3bb2d2694e62.tar.gz gitea-25b23c4bc991644c7db47b484dca3bb2d2694e62.zip |
Do not show non-image attachment in a <img> tag. Fixes #3215 (#3311)
Diffstat (limited to 'public/less')
-rw-r--r-- | public/less/_repository.less | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less index cb1cc121ce..0fdc23df24 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -463,6 +463,13 @@ margin: 0; vertical-align: middle; } + span.ui.image { + font-size: 8vw; + color: #000000; + } + span.ui.image:hover { + color: #000000; + } } } |