From 87c8c38e6963febdccee6475a52b162fb500df2a Mon Sep 17 00:00:00 2001 From: Joen Asmussen Date: Tue, 5 Nov 2019 08:55:20 +0100 Subject: [PATCH] Remove iframe and img responsiveness rules. This is an alternative, and/or addition to #18240. There is discussion around removing these base styles in favor of letting the theme do the work, and the img and iframe rules have been around for a while but might not be needed. This PR removes both those rules, the other only the iframe which seems to be the most offending. --- packages/block-library/src/style.scss | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/block-library/src/style.scss b/packages/block-library/src/style.scss index 3fd7e3c2b8e041..96f08cfd452cdb 100644 --- a/packages/block-library/src/style.scss +++ b/packages/block-library/src/style.scss @@ -261,13 +261,3 @@ figcaption { margin-top: 0.5em; } - -// Apply some base styles to blocks that need them. -img { - max-width: 100%; - height: auto; -} - -iframe { - width: 100%; -}