File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616/* Header styles live in ChatHeader.css. Compose styles live in Compose.css. */
1717
1818/* ── Messages ── */
19+ /* Horizontal padding here ensures the message-row avatar (which extends
20+ 16px past the messages-container outer edge via `margin-left: -40px`)
21+ stays clear of the canvas edge as the viewport narrows or rails take
22+ space — gives a 16px buffer between avatar and canvas edge. The same
23+ padding amount is mirrored on `.chat-compose-area` (with its max-width
24+ bumped by 2× the padding) so bubble and compose stay aligned. */
1925.chat-messages {
2026 flex : 1 ;
2127 overflow-y : auto;
2228 background : # FFFFFF ;
2329 scrollbar-width : none;
2430 -ms-overflow-style : none;
31+ padding : 0 32px ;
2532}
2633
2734.chat-messages ::-webkit-scrollbar {
177184 bottom ~10% of the typing avatar. */
178185.chat-compose-area {
179186 position : relative;
180- max-width : 920 px ;
187+ max-width : 984 px ;
181188 width : 100% ;
182189 margin : 0 auto;
190+ padding : 0 32px ;
183191 box-sizing : border-box;
184192}
185193
You can’t perform that action at this time.
0 commit comments