Skip to content

Commit

Permalink
Merge pull request #415 from depromeet/fix/330/input-tipcard-gap
Browse files Browse the repository at this point in the history
크로스브라우징 - Firefox textarea overflow 문제 수정
  • Loading branch information
leeminhee119 authored Oct 30, 2024
2 parents 872c20f + db11cc9 commit 3b7daf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/component/common/input/TextArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const TextArea = forwardRef<HTMLTextAreaElement, TextAreaProps>(function
id={id || textareaContext?.id}
css={css`
flex-grow: 1;
overflow: auto;
::placeholder {
color: ${DESIGN_TOKEN_COLOR["gray500"]};
${DESIGN_TOKEN_TEXT["body15Medium"]}
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/style/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ textarea {
height: 1rem;
background-color: transparent;
display: none;
scrollbar-width: none; /* for firefox */
}

::-webkit-scrollbar-thumb {
Expand Down

0 comments on commit 3b7daf9

Please sign in to comment.