Skip to content

Commit

Permalink
feat(theworld): post editor styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rpeterman-gp committed Jan 26, 2024
1 parent 64bff17 commit 367a479
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wp-content/themes/the-world/css/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body {
}

.wp-block-post-content > * + * {
margin-block-start: 1.75rem;
margin-block-start: 1.75rem !important;
}
.wp-block-post-content > * + *:not(.alignleft, .alignright) {
margin-block-end: 0;
Expand All @@ -33,6 +33,10 @@ body {
> .wp-block:is(.alignwide):not(.alignleft, .alignright) {
max-width: var(--_editor--content--width);
}
.block-editor-block-list__layout.is-root-container
> .wp-block:is(.alignleft, .alignright) {
width: 44%;
}
.block-editor-block-list__layout.is-root-container > .wp-block:is(.alignleft) {
margin-inline-start: calc(var(--_editor--content--gutter) * -1);
}
Expand Down
5 changes: 5 additions & 0 deletions wp-content/themes/the-world/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
"settings": {
"appearanceTools": false,
"blocks": {
"core/heading": {
"typography": {
"fontFamilies": []
}
},
"core/paragraph": {
"typography": {
"fontFamilies": []
Expand Down

0 comments on commit 367a479

Please sign in to comment.