Skip to content

Commit

Permalink
Show eye before ellipsis
Browse files Browse the repository at this point in the history
  • Loading branch information
noisysocks committed Nov 28, 2022
1 parent 58396fc commit e97c147
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,20 @@ export default function GlobalStylesSidebar() {
<FlexBlock>
<strong>{ __( 'Styles' ) }</strong>
</FlexBlock>
<FlexItem>
<Button
icon={ seen }
label={
isStyleBookOpened
? __( 'Close Style Book' )
: __( 'Open Style Book' )
}
isPressed={ isStyleBookOpened }
onClick={ () => {
setIsStyleBookOpened( ! isStyleBookOpened );
} }
/>
</FlexItem>
<FlexItem>
<DropdownMenu
icon={ moreVertical }
Expand All @@ -62,20 +76,6 @@ export default function GlobalStylesSidebar() {
] }
/>
</FlexItem>
<FlexItem>
<Button
icon={ seen }
label={
isStyleBookOpened
? __( 'Close Style Book' )
: __( 'Open Style Book' )
}
isPressed={ isStyleBookOpened }
onClick={ () => {
setIsStyleBookOpened( ! isStyleBookOpened );
} }
/>
</FlexItem>
</Flex>
}
>
Expand Down

0 comments on commit e97c147

Please sign in to comment.