diff --git a/packages/block-editor/src/components/global-styles/filters-panel.js b/packages/block-editor/src/components/global-styles/filters-panel.js index 2b6c57d44c1bc..dd1ec6dc40787 100644 --- a/packages/block-editor/src/components/global-styles/filters-panel.js +++ b/packages/block-editor/src/components/global-styles/filters-panel.js @@ -111,12 +111,7 @@ const LabeledColorIndicators = ( { indicators, label } ) => ( ) ) } - - { label } - + { label } ); @@ -187,14 +182,11 @@ export default function FiltersPanel( { > { const toggleProps = { onClick: onToggle, - className: classnames( - 'block-editor-panel-color-gradient-settings__dropdown', - { 'is-open': isOpen } - ), + className: classnames( { 'is-open': isOpen } ), 'aria-expanded': isOpen, }; diff --git a/packages/block-editor/src/components/global-styles/style.scss b/packages/block-editor/src/components/global-styles/style.scss index bf62586c2b6f0..7e0cb4d8f68ff 100644 --- a/packages/block-editor/src/components/global-styles/style.scss +++ b/packages/block-editor/src/components/global-styles/style.scss @@ -6,11 +6,12 @@ width: 230px; } +.block-editor-global-styles-filters-panel__dropdown, .block-editor-global-styles-effects-panel__shadow-dropdown { display: block; padding: 0; - > button { + button { width: 100%; padding: $grid-unit-10;