From 2eeb3d385575cd4f0f3604bf1a81026280fba6bc Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Fri, 28 Jan 2022 16:06:29 +0530 Subject: [PATCH] Block editor multi-select dropdown style issue - FIXED --- change-log.txt | 3 +++ wp-super-duper.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/change-log.txt b/change-log.txt index 9c584de..9f15422 100644 --- a/change-log.txt +++ b/change-log.txt @@ -1,3 +1,6 @@ += 1.0.29 = +* Block editor multi-select dropdown style issue - FIXED + = 1.0.28 = * Some extra escaping block parameters - CHANGED diff --git a/wp-super-duper.php b/wp-super-duper.php index 7a0f5ab..c2ce0af 100755 --- a/wp-super-duper.php +++ b/wp-super-duper.php @@ -2321,7 +2321,7 @@ public function build_block_arguments( $key, $args ) { } } if ( isset( $args['multiple'] ) && $args['multiple'] ) { //@todo multiselect does not work at the moment: https://github.com/WordPress/gutenberg/issues/5550 - $extra .= ' multiple: true, '; + $extra .= ' multiple:true,style:{height:"auto",paddingRight:"8px"}, '; } } elseif ( $args['type'] == 'alignment' ) { $type = 'AlignmentToolbar'; // @todo this does not seem to work but cant find a example