summaryrefslogtreecommitdiff
path: root/assets/css
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-14 16:30:32 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-14 16:30:57 -0500
commit35382583dbd0fd9920bc9df1f04363b12fcec657 (patch)
treeaff38f8fd289d0b1157a8d2e0657d551cda51607 /assets/css
parent5fd4e290c5e0cc4e721a2c68489529831882f435 (diff)
Allow remote images for markdown content
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/app.css7
-rw-r--r--assets/css/src/markdown.css7
2 files changed, 14 insertions, 0 deletions
diff --git a/assets/css/app.css b/assets/css/app.css
index 8d4633b4..04eaca54 100644
--- a/assets/css/app.css
+++ b/assets/css/app.css
@@ -1149,6 +1149,13 @@ a.task-board-nobody {
margin-bottom: 10px;
margin-left: 20px;
}
+
+.markdown img {
+ display: block;
+ max-width: 80%;
+ margin-top: 10px;
+}
+
/* listing block */
.listing {
border-radius: 4px;
diff --git a/assets/css/src/markdown.css b/assets/css/src/markdown.css
index d56812dd..dfc1fbb4 100644
--- a/assets/css/src/markdown.css
+++ b/assets/css/src/markdown.css
@@ -55,3 +55,10 @@
margin-bottom: 10px;
margin-left: 20px;
}
+
+.markdown img {
+ display: block;
+ max-width: 80%;
+ margin-top: 10px;
+}
+