Skip to content

Commit

Permalink
Post Content: Fix float clearing on entry content (#35958)
Browse files Browse the repository at this point in the history
* Post Content: Fix float clearing on entry content.

* Use overflow: auto instead of hidden.
  • Loading branch information
kjellr authored Oct 26, 2021
1 parent 522a67c commit b33e394
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 {
overflow: auto;
}
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 b33e394

Please sign in to comment.