Skip to content

Commit

Permalink
Fix up a couple places I missed
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Jan 20, 2022
1 parent a543e69 commit 31b45ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-5.9/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class WP_Theme_JSON_Gutenberg {
'padding-right' => array( 'spacing', 'padding', 'right' ),
'padding-bottom' => array( 'spacing', 'padding', 'bottom' ),
'padding-left' => array( 'spacing', 'padding', 'left' ),
'position' => array( 'spacing', 'position' ),
'position' => array( 'layout', 'position' ),
'--wp--style--block-gap' => array( 'spacing', 'blockGap' ),
'text-decoration' => array( 'typography', 'textDecoration' ),
'text-transform' => array( 'typography', 'textTransform' ),
Expand Down
4 changes: 3 additions & 1 deletion lib/compat/wordpress-5.9/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,13 @@
],
"text": true
},
"layout": {
"position": false
},
"spacing": {
"blockGap": null,
"margin": false,
"padding": false,
"position": false,
"units": [ "px", "em", "rem", "vh", "vw", "%" ]
},
"typography": {
Expand Down

0 comments on commit 31b45ac

Please sign in to comment.