From db11cc9a1d00e4bc8443085a3bc47f2d12e2f49a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=86=E1=85=B5=E1=86=AB=E1=84=92?= =?UTF-8?q?=E1=85=B4?= Date: Wed, 30 Oct 2024 01:59:31 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20#349=20firefox=20textarea=20height=20?= =?UTF-8?q?=EB=84=98=EC=B9=A0=20=EB=95=8C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/component/common/input/TextArea.tsx | 1 + apps/web/src/style/global.css | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/web/src/component/common/input/TextArea.tsx b/apps/web/src/component/common/input/TextArea.tsx index 541a0d1e..206d14e2 100644 --- a/apps/web/src/component/common/input/TextArea.tsx +++ b/apps/web/src/component/common/input/TextArea.tsx @@ -46,6 +46,7 @@ export const TextArea = forwardRef(function id={id || textareaContext?.id} css={css` flex-grow: 1; + overflow: auto; ::placeholder { color: ${DESIGN_TOKEN_COLOR["gray500"]}; ${DESIGN_TOKEN_TEXT["body15Medium"]} diff --git a/apps/web/src/style/global.css b/apps/web/src/style/global.css index 711fafbb..f9660061 100644 --- a/apps/web/src/style/global.css +++ b/apps/web/src/style/global.css @@ -69,6 +69,7 @@ textarea { height: 1rem; background-color: transparent; display: none; + scrollbar-width: none; /* for firefox */ } ::-webkit-scrollbar-thumb {