Skip to content

Commit ad4a873

Browse files
committed
fix: button border radius
1 parent 5155747 commit ad4a873

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/bezier-react/src/components/Button/Button.styled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function getEffectCSSFromVariant(styleVariant: ButtonProps['styleVariant'], size
309309
case ButtonStyleVariant.FloatingAlt:
310310
return css`
311311
${({ foundation }) => foundation?.elevation?.ev2()};
312-
border-radius: 8px;
312+
${({ foundation }) => foundation?.rounding?.round8};
313313
314314
&:hover {
315315
${({ foundation }) => foundation?.elevation?.ev3()};

packages/bezier-react/src/components/Button/__snapshots__/Button.test.tsx.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2065,6 +2065,7 @@ exports[`Button Test > StyleVariant Test > FloatingAlt 1`] = `
20652065
padding: 0 14px 0 14px;
20662066
background-color: #FFFFFF;
20672067
box-shadow: inset 0 0 2px 0 #FFFFFF1F, 0 0 2px 1px #0000000D, 0 2px 6px #00000014;
2068+
overflow: hidden;
20682069
border-radius: 8px;
20692070
color: #FFFFFF;
20702071
background-color: #5E56F0;

0 commit comments

Comments
 (0)