From dee7606765f2f79ad217ed68268cef44cbd3d4cf Mon Sep 17 00:00:00 2001 From: ramonjd Date: Wed, 11 Aug 2021 20:11:34 +1000 Subject: [PATCH] Hi Linter! --- lib/block-supports/dimensions.php | 4 ++-- lib/theme.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/block-supports/dimensions.php b/lib/block-supports/dimensions.php index f3ddbaff2b99bd..a93457347274b2 100644 --- a/lib/block-supports/dimensions.php +++ b/lib/block-supports/dimensions.php @@ -43,7 +43,7 @@ function gutenberg_register_dimensions_support( $block_type ) { * * @return array Block dimensions CSS classes and inline styles. */ -function gutenberg_apply_dimensions_support( $block_type, $block_attributes ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable +function gutenberg_apply_dimensions_support( $block_type, $block_attributes ) { if ( gutenberg_skip_dimensions_serialization( $block_type ) ) { return array(); } @@ -61,7 +61,7 @@ function gutenberg_apply_dimensions_support( $block_type, $block_attributes ) { } } - // Minimum height support. + // Minimum height. $has_min_height_support = gutenberg_block_has_support( $block_type, array( '__experimentalDimensions', 'minHeight' ), false ); if ( $has_min_height_support ) { diff --git a/lib/theme.json b/lib/theme.json index 7f218f855dfeb2..66c0f238d0ee2f 100644 --- a/lib/theme.json +++ b/lib/theme.json @@ -211,7 +211,8 @@ ] }, "dimensions": { - "height": false + "height": false, + "minHeight": false }, "spacing": { "customMargin": false,