Skip to content

Commit

Permalink
feat(theworld): add block align center styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rpeterman-gp committed Jan 29, 2024
1 parent 1a8f6e0 commit 1dadccd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wp-content/themes/the-world/css/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ body {
.block-editor-block-list__layout.is-root-container > .wp-block:is(.alignright) {
margin-inline-end: calc(var(--_editor--content--gutter) * -1);
}
.block-editor-block-list__layout.is-root-container
> .wp-block:is(.aligncenter) {
padding-inline: var(--_editor--content--gutter);
text-align: left;
}
.block-editor-block-list__layout.is-root-container > .wp-block figcaption {
display: block;
}

.block-editor-block-list__layout.is-root-container > .wp-block figcaption {
color: var(--_editor--color--muted);
Expand Down

0 comments on commit 1dadccd

Please sign in to comment.