Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Oct 31, 2022
1 parent 0de882e commit d2aebfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/block-supports/dimensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ function gutenberg_apply_dimensions_support( $block_type, $block_attributes ) {
return array();
}

$attributes = array();

// Width support to be added in near future.

$has_min_height_support = block_has_support( $block_type, array( 'dimensions', 'minHeight' ), false );
Expand Down
6 changes: 3 additions & 3 deletions packages/style-engine/class-wp-style-engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ final class WP_Style_Engine {
'css_vars' => array(
'spacing' => '--wp--preset--spacing--$slug',
),
)
),
),
'spacing' => array(
'padding' => array(
'padding' => array(
'property_keys' => array(
'default' => 'padding',
'individual' => 'padding-%s',
Expand All @@ -161,7 +161,7 @@ final class WP_Style_Engine {
'spacing' => '--wp--preset--spacing--$slug',
),
),
'margin' => array(
'margin' => array(
'property_keys' => array(
'default' => 'margin',
'individual' => 'margin-%s',
Expand Down

0 comments on commit d2aebfb

Please sign in to comment.