Avoid overlapping session title ellipsis

This commit is contained in:
wuyang6
2026-06-12 19:23:47 +08:00
parent 82b41ce89d
commit 780f3447b1
@@ -521,7 +521,7 @@ const ClawSessionList: FC = () => {
<button
type="button"
className={`aui-thread-list-item-trigger flex h-full min-w-0 flex-1 items-center overflow-hidden pl-3 text-start text-sm ${
actionPinned ? "pr-7" : "pr-2"
actionPinned ? "pr-7" : "pr-2 group-hover:pr-7"
}`}
onClick={async () => {
console.log("[session-list] click", {
@@ -532,7 +532,7 @@ const ClawSessionList: FC = () => {
await openSession(session.session_id);
}}
>
<span className="min-w-0 truncate">
<span className="min-w-0 overflow-hidden whitespace-nowrap">
{loading
? "回放中..."
: session.preview || session.session_id}