Skip to content

Commit

Permalink
Try ensuring the item after post content clears floats (#36006)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr authored Oct 28, 2021
1 parent 3674620 commit f0e52ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-library/src/post-content/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Required to ensure that subsequent blocks clear floats inside entry content.
.wp-block-post-content + * {
clear: both;
}
1 change: 1 addition & 0 deletions packages/block-library/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
@import "./post-title/style.scss";
@import "./preformatted/style.scss";
@import "./pullquote/style.scss";
@import "./post-content/style.scss";
@import "./post-template/style.scss";
@import "./query-pagination/style.scss";
@import "./quote/style.scss";
Expand Down

0 comments on commit f0e52ff

Please sign in to comment.