Skip to content

Commit

Permalink
Update Image block margins for RTL in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
sabernhardt authored Sep 11, 2024
1 parent 0c0e605 commit 75b6d7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-library/src/image/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,18 @@ figure.wp-block-image:not(.wp-block) {
}

.wp-block[data-align="left"] > .wp-block-image {
/*rtl:ignore*/
margin-right: 1em;
/*rtl:ignore*/
margin-left: 0;
margin-top: 0.5em;
margin-bottom: 0.5em;
}

.wp-block[data-align="right"] > .wp-block-image {
/*rtl:ignore*/
margin-left: 1em;
/*rtl:ignore*/
margin-right: 0;
margin-top: 0.5em;
margin-bottom: 0.5em;
Expand Down

0 comments on commit 75b6d7e

Please sign in to comment.