Skip to content

Commit

Permalink
fixes #24845 (#24847)
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath authored Oct 29, 2020
1 parent 7778a36 commit b103272
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 b103272

Please sign in to comment.