Skip to content

Commit

Permalink
BorderControl: Use __next40pxDefaultSize prop for Reset button
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Sep 26, 2024
1 parent 4482cd3 commit cabdda2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ const BorderControlDropdown = (
onReset();
onClose();
} }
__next40pxDefaultSize
>
{ __( 'Reset' ) }
</Button>
Expand Down
1 change: 0 additions & 1 deletion packages/components/src/border-control/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ export const resetButton = css`
border-top: ${ CONFIG.borderWidth } solid ${ COLORS.gray[ 400 ] };
border-top-left-radius: 0;
border-top-right-radius: 0;
height: 40px;
}
`;

Expand Down

0 comments on commit cabdda2

Please sign in to comment.