X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa6ee2c363cdfdebcb4b76e4d9c4347a4cb19065..7f1521bf193b382565eb753043c161f4cb3fcda7:/wp-content/themes/twentyfifteen/css/editor-style.css?ds=sidebyside diff --git a/wp-content/themes/twentyfifteen/css/editor-style.css b/wp-content/themes/twentyfifteen/css/editor-style.css index c9ea518d..ab1b75a5 100644 --- a/wp-content/themes/twentyfifteen/css/editor-style.css +++ b/wp-content/themes/twentyfifteen/css/editor-style.css @@ -15,6 +15,7 @@ Description: Used to style the TinyMCE editor. * 6.0 - Galleries * 7.0 - Audio / Video * 8.0 - RTL + * 9.0 - Media Queries */ @@ -300,10 +301,6 @@ img { vertical-align: middle; } -a img { - display: block; -} - figure { margin: 0; } @@ -479,3 +476,18 @@ body.rtl { .rtl table caption { text-align: right; } + + +/** + * 9.0 Media Queries + */ + +@media screen and (max-width: 740px) { + body, img, .wp-caption { + max-width: 100%; + } + + img, .wp-caption { + width: auto !important; + } +}