Skip to content
Browse files

Twenty Seventeen: Remove editor style that prevents images from being…

… resized.

Twenty Seventeen’s editor styles contained an Internet Explorer 8 specific fix that stopped images from being scalable in the editor in other browsers. Since the editor no longer supports IE8, this fix can safely be removed. 

Props audrasjb, mihaivalentin, subrataemfluence.
Fixes #39738.

git-svn-id: 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
laurelfulford committed Dec 14, 2018
1 parent 0a4165f commit afc1fcf048ff62a0fea5d2f4b96a87f32e58cd8a
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/wp-content/themes/twentyseventeen/assets/css/editor-style.css
@@ -320,7 +320,6 @@ a img {

img {
height: auto; /* Make sure images are scaled correctly. */
width: inherit; /* Make images fill their parent's space. Solves IE8. */
max-width: 100%; /* Adhere to container width. */

0 comments on commit afc1fcf

Please sign in to comment.
You can’t perform that action at this time.