diff options
Diffstat (limited to 'src/style.css')
| -rw-r--r-- | src/style.css | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/style.css b/src/style.css index a9ceadb..311cfbb 100644 --- a/src/style.css +++ b/src/style.css @@ -975,7 +975,10 @@ html.no-scroll { overflow: hidden; scrollbar-gutter: auto; } .live-rec-link { background: var(--paper); color: var(--ink); text-decoration: none; } .live-say { padding: 6px 12px; border-radius: 8px; color: #fff; background: rgba(0, 0, 0, .65); font-size: 14px; text-align: center; } /* the top padding is headroom for a hat on the first line's face: a scroller clips what rises out of it */ -.live-chat { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; padding-top: 12px; } +/* no overscroll-behavior here: at the end of the chat the swipe carries on to + the page, or the last lines and the message box stay under the screen edge + with no way to reach them (Adam, 2026-11-20) */ +.live-chat { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; min-height: 120px; overflow-y: auto; padding-top: 12px; } .live-line { display: flex; gap: 8px; align-items: flex-start; min-width: 0; } .live-line-body { min-width: 0; overflow-wrap: anywhere; white-space: pre-wrap; line-height: 1.35; } .live-zap .live-line-body b { color: var(--accent); } @@ -991,7 +994,7 @@ html.no-scroll { overflow: hidden; scrollbar-gutter: auto; } .live-page > .live-chat-card { margin-top: 0; padding-top: 6px; border-top: none; } .live-page > .card > :not(.live-player, .live-chat) { margin-left: 14px; margin-right: 14px; } .live-page .live-player { border-radius: 0; } - .live-page .live-chat { padding: 10px 14px 0; max-height: 60vh; } + .live-page .live-chat { padding: 10px 14px 0; max-height: var(--live-chat-max, 60vh); } .live-page .live-title { font-size: 17px; } .live-chat .chat-row { gap: 10px; } .live-chat .chat-bubble { display: block; background: transparent; border: 0; border-radius: 0; padding: 0; font-size: 15px; } |
