Skip to content

Commit

Permalink
Remove iframe and img responsiveness rules.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Joen Asmussen committed Nov 5, 2019
1 parent fd5edfc commit 87c8c38
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/block-library/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
}

0 comments on commit 87c8c38

Please sign in to comment.