Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed May 18, 2022
1 parent 1293632 commit ed7c83c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,6 @@ export default function ColorGradientSettingsDropdown( {
__experimentalIsRenderedInSidebar,
...props
} ) {
const dropdownClassName = __experimentalIsItemGroup
? 'block-editor-panel-color-gradient-settings__dropdown'
: 'block-editor-tools-panel-color-gradient-settings__dropdown';

const dropdownClassName = __experimentalIsItemGroup
? 'block-editor-panel-color-gradient-settings__dropdown'
: 'block-editor-tools-panel-color-gradient-settings__dropdown';
let popoverProps;
if ( __experimentalIsRenderedInSidebar ) {
popoverProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
min-width: 0;
}

.block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings,
.block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings > div:not( :first-of-type ) {
display: block;
.block-editor-panel-color-gradient-settings.block-editor-panel-color-gradient-settings {
&,
& > div:not(:first-of-type) {
display: block;
}
}

.block-editor-panel-color-gradient-settings {
Expand Down

0 comments on commit ed7c83c

Please sign in to comment.