Skip to content

Commit

Permalink
Fix alignment of Global Styles color controls (#40081)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored Apr 6, 2022
1 parent 77068ea commit aa31078
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function BackgroundColorItem( { name, parentMenu } ) {
return (
<NavigationButton path={ parentMenu + '/colors/background' }>
<HStack justify="flex-start">
<ColorIndicatorWrapper>
<ColorIndicatorWrapper expanded={ false }>
<ColorIndicator
colorValue={ gradientValue ?? backgroundColor }
/>
Expand All @@ -58,7 +58,7 @@ function TextColorItem( { name, parentMenu } ) {
return (
<NavigationButton path={ parentMenu + '/colors/text' }>
<HStack justify="flex-start">
<ColorIndicatorWrapper>
<ColorIndicatorWrapper expanded={ false }>
<ColorIndicator colorValue={ color } />
</ColorIndicatorWrapper>
<FlexItem>{ __( 'Text' ) }</FlexItem>
Expand All @@ -79,7 +79,7 @@ function LinkColorItem( { name, parentMenu } ) {
return (
<NavigationButton path={ parentMenu + '/colors/link' }>
<HStack justify="flex-start">
<ColorIndicatorWrapper>
<ColorIndicatorWrapper expanded={ false }>
<ColorIndicator colorValue={ color } />
</ColorIndicatorWrapper>
<FlexItem>{ __( 'Links' ) }</FlexItem>
Expand Down

0 comments on commit aa31078

Please sign in to comment.