Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Aug 27, 2020
1 parent 4b28ce9 commit 64a06ee
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/block-library/src/embed/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,16 @@
bottom: 0;
opacity: 0;
}

.wp-block[data-align="left"],
.wp-block[data-align="right"] {
> .wp-block-embed {
max-width: 360px;
width: 100%;

// Unless these have a min-width, they collapse when floated.
.wp-block-embed__wrapper {
min-width: $break-zoomed-in;
}
}
}

0 comments on commit 64a06ee

Please sign in to comment.