Skip to content

Commit

Permalink
Layout Grid: float image block right when right-aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Jul 7, 2021
1 parent 1333e02 commit 2fb5751
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions blocks/layout-grid/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -246,3 +246,13 @@
}
}
}

/**
* Image alignment for the editor
*/

.wp-block[data-align=right] {
> .wp-block-image {
float: right;
}
}

0 comments on commit 2fb5751

Please sign in to comment.