Skip to content

Commit ccc414d

Browse files
fix scrolling bar issue
limit .chatContainer height and expand chatMessageStream
1 parent 78583e1 commit ccc414d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/frontend/src/pages/chat/Chat.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
flex-direction: column;
1717
align-items: center;
1818
width: 100%;
19+
max-height: calc(100vh - 10rem);
1920
}
2021

2122
.chatEmptyState {
@@ -43,11 +44,10 @@
4344
.chatMessageStream {
4445
flex-grow: 1;
4546
max-height: 64rem;
46-
max-width: 64.25rem;
4747
width: 100%;
4848
overflow-y: auto;
49-
padding-left: 1rem;
50-
padding-right: 1rem;
49+
padding-left: 15vw;
50+
padding-right: 15vw;
5151
display: flex;
5252
flex-direction: column;
5353
}

0 commit comments

Comments
 (0)