Skip to content

Commit 8ff4699

Browse files
authored
UI Fixes HTML
1 parent 06ee336 commit 8ff4699

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

index.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,11 @@
9696
}
9797

9898
.chat-area {
99-
flex: 1;
10099
display: flex;
101100
flex-direction: column;
101+
flex: 1 1 0; /* Grow and shrink as needed */
102+
min-width: 300px; /* Prevent it from becoming too narrow */
103+
max-width: calc(100% - 200px); /* Leave space for user list */
102104
}
103105

104106
.chat-box {
@@ -268,6 +270,10 @@
268270
flex-wrap: wrap;
269271
gap: 8px;
270272
}
273+
.chat-area {
274+
max-width: 100%;
275+
min-width: 100%;
276+
}
271277
}
272278

273279
/* System message styling */

0 commit comments

Comments
 (0)