Skip to content

Commit

Permalink
Restore layout of global styles color panel items
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored and youknowriad committed Mar 21, 2023
1 parent 12058b7 commit 6145a3f
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,13 @@ function ColorToolsPanel( {
resetAll={ resetAll }
panelId={ panelId }
hasInnerWrapper
className="color-block-support-panel"
__experimentalFirstVisibleItemClass="first"
__experimentalLastVisibleItemClass="last"
>
{ children }
<div className="color-block-support-panel__inner-wrapper">
{ children }
</div>
</ToolsPanel>
);
}
Expand Down Expand Up @@ -194,7 +199,7 @@ function ColorPanelDropdown( {

return (
<ToolsPanelItem
className="block-editor-tools-panel-color-gradient-settings__item single-column"
className="block-editor-tools-panel-color-gradient-settings__item"
hasValue={ hasValue }
label={ label }
onDeselect={ resetValue }
Expand Down

0 comments on commit 6145a3f

Please sign in to comment.