Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ eq(
);

eq(finalDeclaration(".statusbar", "white-space"), "nowrap", "status bar keeps metrics on one row");
eq(finalDeclaration(".statusbar", "overflow"), "hidden", "status bar clips instead of overflowing");
eq(finalDeclaration(".statusbar", "overflow-x"), "auto", "status bar can scroll to reveal all metrics");
eq(finalDeclaration(".statusbar", "overflow-y"), "hidden", "status bar stays one-line vertically");
eq(finalDeclaration(".chat-pane", "overflow-y"), "auto", "chat pane scrolls when the window is too short");
eq(finalDeclaration(".sidebar", "overflow-y"), "auto", "sidebar scrolls when the window is too short");
clipsSingleLine(".statusbar__model");

for (const selector of [
Expand Down
24 changes: 22 additions & 2 deletions desktop/frontend/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,13 @@ a[href] {
border-right: 1px solid var(--border-soft);
--wails-draggable: drag;
user-select: none;
overflow: hidden;
overflow-x: hidden;
overflow-y: auto;
scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
display: none;
}

.app--darwin .sidebar {
Expand Down Expand Up @@ -2084,6 +2090,8 @@ a[href] {
min-width: 0;
min-height: 0;
background: var(--chat-bg);
overflow-x: hidden;
overflow-y: auto;
}

/* ── top bar (drag region) ───────────────────────────────────────────────── */
Expand Down Expand Up @@ -5274,7 +5282,19 @@ a[href] {
CJK text breaks one character per line. The metric chips keep their width
(flex-shrink: 0) and only the model label ellipsizes to absorb the squeeze. */
white-space: nowrap;
overflow: hidden;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: thin;
}
.statusbar::-webkit-scrollbar {
height: 4px;
}
.statusbar::-webkit-scrollbar-thumb {
border-radius: 999px;
background: color-mix(in srgb, var(--fg-faint) 30%, transparent);
}
.statusbar::-webkit-scrollbar-track {
background: transparent;
}
.statusbar > * {
flex-shrink: 0;
Expand Down