From 2bdb0d0e7be4543fa3cf0c40cb6aed411ca6103a Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 6 Oct 2026 05:30:42 +0800 Subject: [PATCH] =?UTF-8?q?gui:=20a=20session's=20title=20on=20the=20Sessi?= =?UTF-8?q?ons=20page=20keeps=20100px+=20in=20a=20420px=20window=20when=20?= =?UTF-8?q?the=20list=20scrolls=20=E2=80=94=20its=20row's=20five=2012px=20?= =?UTF-8?q?gaps=20(check,=20title,=20cost,=20Resume,=20terminal,=20delete)?= =?UTF-8?q?=20left=20the=20title=2090px=20once=20the=20page's=20scrollbar?= =?UTF-8?q?=20took=2010px=20(WebKit,=20a=20long=20list);=20narrow=20rows?= =?UTF-8?q?=20(=E2=89=A4560px)=20now=20have=208px=20gaps,=20the=20title=20?= =?UTF-8?q?110px.=20sessions-usage-open.test.cjs=20("its=20title=20keeps?= =?UTF-8?q?=20room=20to=20be=20read")=20fails=20in=20WebKit=20without=20it?= =?UTF-8?q?=20and=20passes=20with=20it=20in=20Chromium=20and=20WebKit,=20e?= =?UTF-8?q?n=20and=20zh;=20sess-agent-strip,=20sessions-bar-names,=20-fold?= =?UTF-8?q?er-delete,=20-manage,=20-purge,=20-today,=20-toolbar,=20old-web?= =?UTF-8?q?kit=20and=20click-scroll=20pass=20in=20both=20(sessions-overvie?= =?UTF-8?q?w=20and=20sessions-talk=20fail=20in=20WebKit=20the=20same=20on?= =?UTF-8?q?=206e623d16).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/gui/assets/sessions.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/gui/assets/sessions.css b/internal/gui/assets/sessions.css index fcb1d8cc..48d5db46 100644 --- a/internal/gui/assets/sessions.css +++ b/internal/gui/assets/sessions.css @@ -53,6 +53,9 @@ /* the cost stays; the title keeps the room the tokens took (#752) */ .row.sm-sess .num { display: none; } .row.sm-sess .cost { min-width: 0; } + /* five gaps of 12px left a 420px window's title 90px once the list + scrolled and its scrollbar took 10px */ + .row.sess.sm-sess { gap: 8px; } } @media (max-width: 420px) { .sm-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }