Skip to content

Commit

Permalink
Fully restore to prior to aspect ratio PR
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Feb 27, 2024
1 parent a1175f6 commit 9442803
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/block-library/src/cover/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
align-items: center;
padding: 1em;
// Prevent the `wp-block-cover__background` span from overflowing the container when border-radius is applied.
// `overflow: hidden` is provided as a fallback for browsers that don't support `overflow: clip`.
overflow: hidden;
// Use clip instead of overflow: hidden so that sticky position works on child elements.
overflow: clip;
// This block has customizable padding, border-box makes that more predictable.
Expand Down

0 comments on commit 9442803

Please sign in to comment.