diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-07 01:11:08 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-07 01:11:08 -0700 |
commit | 8f3df085d8d0e92165299e098586167886abd35c (patch) | |
tree | 06e97c0287bcc7acafa3c99c758f095a2347c845 /theme/stylesheets | |
parent | b7e04b547565f5535d9526c46b57c258d8d08b15 (diff) | |
download | gitbook-8f3df085d8d0e92165299e098586167886abd35c.zip gitbook-8f3df085d8d0e92165299e098586167886abd35c.tar.gz gitbook-8f3df085d8d0e92165299e098586167886abd35c.tar.bz2 |
Center images in markdown body
Diffstat (limited to 'theme/stylesheets')
-rw-r--r-- | theme/stylesheets/book/markdown.less | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/theme/stylesheets/book/markdown.less b/theme/stylesheets/book/markdown.less index 7504793..97c40bf 100644 --- a/theme/stylesheets/book/markdown.less +++ b/theme/stylesheets/book/markdown.less @@ -184,7 +184,10 @@ margin-bottom: 0; } img { - max-width: 100%; } + max-width: 100%; + display: block; + margin: 0px auto; + } span.frame { display: block; |