mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-18 23:11:33 +00:00
fix: stabilize and darken chat scrollbars
This commit is contained in:
@@ -79,6 +79,8 @@ openclaw-chat-page {
|
||||
/* Grow, shrink, and use 0 base for proper scrolling */
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
scrollbar-gutter: stable both-edges;
|
||||
scrollbar-color: var(--muted-strong) transparent;
|
||||
/* The tall top inset is a titlebar band: it keeps the floating rail
|
||||
openers (.chat-floating-toggles, 28px at top 10px) clear of the first
|
||||
message and gives the native macOS app an empty strip that starts a
|
||||
@@ -91,6 +93,14 @@ openclaw-chat-page {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
:root .chat-thread::-webkit-scrollbar-thumb {
|
||||
background: var(--muted-strong);
|
||||
}
|
||||
|
||||
:root .chat-thread::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--text);
|
||||
}
|
||||
|
||||
/* Split panes spend their top row on the pane header (which is both the
|
||||
toggle host and the drag surface), so their threads keep a compact inset.
|
||||
The single-pane view is also an openclaw-chat-pane but renders no header,
|
||||
|
||||
Reference in New Issue
Block a user