Skip to content

Commit

Permalink
Move button after inputs and make it compact.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Dec 20, 2024
1 parent a47a703 commit 661cddd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/color-picker/color-copy-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const ColorCopyButton = ( props: ColorCopyButtonProps ) => {
}, [] );

return (
<Button variant="secondary" ref={ copyRef } __next40pxDefaultSize>
<Button variant="secondary" ref={ copyRef } size="compact">
{ copiedColor === color.toHex() ? __( 'Copied!' ) : __( 'Copy' ) }
</Button>
);
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/color-picker/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const UnconnectedColorPicker = (
/>
</AuxiliaryColorArtefactHStackHeader>
<ColorInputWrapper
direction={ colorType === 'hex' ? 'row' : 'column' }
direction="column"
align="flex-start"
gap={ 2 }
>
Expand Down

0 comments on commit 661cddd

Please sign in to comment.