docs(code): document websocket flow

This commit is contained in:
2026-06-16 14:30:21 +03:30
parent 0103dafc80
commit 932574b0c9
5 changed files with 35 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ body {
color: var(--text);
background: var(--bg);
direction: rtl;
/* The app shell owns scrolling so the page does not exceed the viewport. */
overflow: hidden;
}
@@ -98,6 +99,7 @@ h1 {
}
.layout {
/* Allows the chat and users panels to shrink and scroll inside the viewport. */
min-height: 0;
flex: 1;
display: grid;
@@ -216,6 +218,7 @@ ul {
#usersList {
min-height: 0;
/* Long user lists scroll here instead of making the page taller. */
overflow-y: auto;
}
@@ -252,6 +255,7 @@ li {
min-height: 0;
flex: 1;
padding: 18px;
/* Chat history scrolls inside the chat panel. */
overflow-y: auto;
display: flex;
flex-direction: column;