From b3aa6fbdb3bc12916f165daf42e69466ae89a5fc Mon Sep 17 00:00:00 2001 From: hyochan Date: Fri, 27 Dec 2024 20:48:02 +0900 Subject: [PATCH] fix: emotion px style --- src/components/uis/RadioGroup/RadioButton.tsx | 2 +- src/components/uis/Typography/Typography.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/uis/RadioGroup/RadioButton.tsx b/src/components/uis/RadioGroup/RadioButton.tsx index 9186f21..3b40662 100644 --- a/src/components/uis/RadioGroup/RadioButton.tsx +++ b/src/components/uis/RadioGroup/RadioButton.tsx @@ -67,7 +67,7 @@ const StyledRadioCircle = styled(RadioWrapper)<{ margin: ${({innerLayout}) => innerLayout && '2px'}; border-radius: ${({innerLayout}) => - innerLayout && `${innerLayout.width / 2}px`}; + innerLayout && `${innerLayout.width / 2 + 'px'}`}; `; export default function RadioButton({ diff --git a/src/components/uis/Typography/Typography.tsx b/src/components/uis/Typography/Typography.tsx index 431a9d8..a491028 100644 --- a/src/components/uis/Typography/Typography.tsx +++ b/src/components/uis/Typography/Typography.tsx @@ -44,8 +44,8 @@ const createTextComponent = ( {...props} style={[ css` - font-size: ${fontSize}px; - line-height: ${lineHeight}px; + font-size: ${fontSize + 'px'}; + line-height: ${lineHeight + 'px'}; `, {includeFontPadding: false}, style,