Skip to content

Commit cc2316e

Browse files
authored
fix: minor border radius issues (#611)
1 parent eea0851 commit cc2316e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/components/Select.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ const SelectButtonInner = styled.div<{
160160
color: theme.colors['text-light'],
161161
border: theme.borders.input,
162162
borderRadius: theme.borderRadiuses.medium,
163+
overflow: 'hidden',
163164
'.content': {
164165
alignItems: 'center',
165166
display: 'flex',

src/theme.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ const getHonorableThemeProps = ({ mode }: { mode: ColorMode }) => {
201201
{
202202
buttonMedium: true,
203203
display: 'flex',
204-
borderRadius: 'normal',
204+
borderRadius: 'medium',
205205
color: 'text-always-white',
206206
backgroundColor: 'action-primary',
207207
border: '1px solid action-primary',
@@ -460,7 +460,7 @@ const getHonorableThemeProps = ({ mode }: { mode: ColorMode }) => {
460460
{
461461
width: 24,
462462
height: 24,
463-
borderRadius: 'normal',
463+
borderRadius: 'medium',
464464
},
465465
({ small }: any) =>
466466
small && {
@@ -527,7 +527,7 @@ const getHonorableThemeProps = ({ mode }: { mode: ColorMode }) => {
527527
paddingRight: 'medium',
528528
paddingLeft: 'medium',
529529
border: '1px solid border-input',
530-
borderRadius: 'normal',
530+
borderRadius: 'medium',
531531
_focusWithin: {
532532
borderColor: 'border-outline-focused',
533533
},
@@ -630,7 +630,7 @@ const getHonorableThemeProps = ({ mode }: { mode: ColorMode }) => {
630630
paddingBottom: '4px',
631631
backgroundColor: 'fill-two',
632632
border: '1px solid border',
633-
borderRadius: 'normal',
633+
borderRadius: 'medium',
634634
boxShadow: 'moderate',
635635
elevation: 0, // reset from honorable-theme-default
636636
},

0 commit comments

Comments
 (0)