Files
magpie/internal/gui/assets/plugins/sessions
yetone 73fb77e1d0 sessions: a session's title keeps its room in a narrow Sessions list
cybercaius (Discord, Windows app, zh): at a narrow window a session row's
title shrank to one character ("7") while its tokens, cost and buttons
kept their width. The page's 560px media queries look at the viewport, not
at the list beside the sidebar, so they never fired.

.sm-tree is now a size container. Under 700px the token count goes and
the row gaps tighten; under 600px the row wraps: the title takes the
first line and the cost and buttons sit right-aligned on the second.

New sessions-row-narrow.test.cjs (zh title, tokens, cost, resume,
terminal, carry, delete; widths 1100 to 360): the title keeps at least
min(140px, 35% of the row) and ellipsizes, and nothing passes the row's
edge. Red before at every width up to 720 (title 0 to 100px); green
after in chromium and webkit, en and zh, on mote.
Not tried: the real Windows app (WebView2); Chromium covers its engine.
2026-10-28 04:18:21 +08:00
..