From dfc7a4c041dc685469a780ca036c959ee34a000d Mon Sep 17 00:00:00 2001 From: Parabola Date: Thu, 12 Oct 2017 15:02:14 +0800 Subject: [PATCH] add padding to images with `align` --- github-markdown.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/github-markdown.css b/github-markdown.css index 57c63c7..9ac4227 100644 --- a/github-markdown.css +++ b/github-markdown.css @@ -591,6 +591,14 @@ background-color: #fff; } +.markdown-body img[align=right]{ + padding-left: 20px; +} + +.markdown-body img[align=left]{ + padding-right: 20px; +} + .markdown-body code { padding: 0; padding-top: 0.2em;