From f69f677a32788d19e0d28b3c392016e08f775a93 Mon Sep 17 00:00:00 2001 From: usrnk1 <7547651+usrnk1@users.noreply.github.com> Date: Tue, 30 Jun 2026 11:46:52 +0200 Subject: [PATCH] feat(desktop): add hover background to session title and single-click edit (#34589) --- .../pages/session/timeline/message-timeline.tsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/packages/app/src/pages/session/timeline/message-timeline.tsx b/packages/app/src/pages/session/timeline/message-timeline.tsx index 078ee7ada21..570ff1d9811 100644 --- a/packages/app/src/pages/session/timeline/message-timeline.tsx +++ b/packages/app/src/pages/session/timeline/message-timeline.tsx @@ -1357,7 +1357,7 @@ export function MessageTimeline(props: { "w-full": true, "pb-4": true, "pr-3": true, - "pl-4": settings.general.newLayoutDesigns(), + "pl-2": settings.general.newLayoutDesigns(), "pl-2 md:pl-4": !settings.general.newLayoutDesigns(), "md:max-w-200 md:mx-auto 2xl:max-w-[1000px]": props.centered && !settings.general.newLayoutDesigns(), }} @@ -1393,8 +1393,13 @@ export function MessageTimeline(props: { fallback={

{childTitle()}

@@ -1408,10 +1413,10 @@ export function MessageTimeline(props: { value={title.draft} disabled={titleMutation.isPending} classList={{ - "text-14-medium text-text-strong grow-1 min-w-0 pl-1 -ml-1": true, - "h-6 leading-4 rounded-[3px] focus:shadow-none focus:outline focus:outline-1 focus:outline-offset-[-1px] focus:outline-v2-border-border-focus": + "text-14-medium text-text-strong grow-1 min-w-0 pl-1 ml-1": true, + "grow-1 min-w-0 pl-1 -ml-1 rounded-[6px]": !settings.general.newLayoutDesigns(), + "rounded-[6px] -ml-2 px-2 py-1 h-6 leading-4 focus:shadow-none focus:outline focus:outline-1 focus:outline-offset-[-1px] focus:outline-v2-border-border-focus": settings.general.newLayoutDesigns(), - "rounded-[6px]": !settings.general.newLayoutDesigns(), }} style={{ "--inline-input-shadow": settings.general.newLayoutDesigns()