Skip to content

Commit

Permalink
Fixed some Embed's width in the editor. (WordPress#6212)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored and nuzzio committed Apr 25, 2018
1 parent b7cea2a commit 45eccc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/sandbox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ class Sandbox extends Component {
width: 100%;
height: 100%;
}
body > div > iframe {
width: 100%;
}
body > div > * {
margin-top: 0 !important; /* has to have !important to override inline styles */
margin-bottom: 0 !important;
Expand Down

0 comments on commit 45eccc8

Please sign in to comment.