Skip to content

Commit 5de0f83

Browse files
committed
fixed vertical text in to button component
1 parent d58268f commit 5de0f83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/components/mock-components/front-components/button-shape.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const ButtonShape = forwardRef<any, ShapeProps>((props, ref) => {
6868
/>
6969
<Text
7070
x={0}
71-
y={restrictedHeight / 2 - 5}
71+
y={(restrictedHeight - 15) / 2}
7272
width={restrictedWidth}
7373
height={restrictedHeight - restrictedHeight / 2 - 5}
7474
text={text}

0 commit comments

Comments
 (0)