summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-23 17:22:14 +0800
committerslene <vslene@gmail.com>2014-03-23 17:22:14 +0800
commit406afa3c32eab4782291ca01eea273f2df25748d (patch)
tree2a9238b62092782faf72ee999521ead78e1f1866
parentd786a74a9f9d46c2d5925c7d43b040a44fe62843 (diff)
downloadgitea-406afa3c32eab4782291ca01eea273f2df25748d.tar.gz
gitea-406afa3c32eab4782291ca01eea273f2df25748d.zip
markdown img max-width
-rw-r--r--public/css/markdown.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/css/markdown.css b/public/css/markdown.css
index a810fa3ce7..9f4024ba89 100644
--- a/public/css/markdown.css
+++ b/public/css/markdown.css
@@ -175,6 +175,10 @@
margin-bottom: 0;
}
+.markdown img {
+ max-width: 100%;
+}
+
.markdown .btn {
color: #fff;
}