Skip to content

Commit

Permalink
feat: 메세지 입력창 최대 크기 도달 시 스크롤바 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
gogumalatte committed Nov 8, 2024
1 parent 9a74e2b commit 3ec6e57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VITE_BASE_URL=https://backbell.site:3001
VITE_BASE_URL=https://backbell.site
4 changes: 2 additions & 2 deletions src/pages/main/message-input/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ const StyledTextarea = styled(Textarea)`
font-size: 16px;
padding-right: 40px;
resize: none;
overflow: hidden;
max-height: 200px;
overflow-y: auto; // 스크롤바 추가
max-height: 200px; // 최대 높이 설정
min-height: 36px;
line-height: 1.5;
::placeholder {
Expand Down

0 comments on commit 3ec6e57

Please sign in to comment.