Skip to content

Commit

Permalink
Refactor textarea height in Room component and add container for send…
Browse files Browse the repository at this point in the history
… button
  • Loading branch information
yasuaki640 committed Jul 13, 2024
1 parent 5265ca8 commit 5c9ca96
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/views/Room.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,10 @@ export const Room: FC<{ props: Props }> = ({ props }) => (
</div>
))}
<form method={"post"} action={`/chats/${props.room.roomId}`}>
<textarea name={"message"} />
<button type={"submit"}>Send</button>
<textarea name={"message"} style={{ height: "200px" }} />
<div>
<button type={"submit"}>Send</button>
</div>
</form>
</>
);

0 comments on commit 5c9ca96

Please sign in to comment.