Skip to content

Commit

Permalink
File: Add center alignment editor class for classic themes (#59975)
Browse files Browse the repository at this point in the history
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: sabernhardt <[email protected]>
  • Loading branch information
4 people authored Mar 19, 2024
1 parent 502b0bd commit 998bd28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/block-library/src/file/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
// Stop file block from collapsing when floated.
height: auto;
}
.wp-block[data-align="center"] > & {
text-align: center;
}

display: flex;
flex-wrap: wrap;
Expand Down

0 comments on commit 998bd28

Please sign in to comment.