Skip to content

Commit

Permalink
Fix: Caption with Link in Wide-Width and Full-Width Images Appears on…
Browse files Browse the repository at this point in the history
… two lines (WordPress#67392)

Co-authored-by: jorgefilipecosta <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: t-hamano <[email protected]>
  • Loading branch information
4 people authored and im3dabasia committed Dec 4, 2024
1 parent b1485a4 commit ee02fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
text-align: center;
}

&.alignfull a,
&.alignwide a {
&.alignfull > a,
&.alignwide > a {
width: 100%;
}

Expand Down

0 comments on commit ee02fe1

Please sign in to comment.