From 8f1c20318184d72cd7cfa75d53fc824d530d24d6 Mon Sep 17 00:00:00 2001 From: "buf0-bot[bot]" <252831055+buf0-bot[bot]@users.noreply.github.com> Date: Fri, 23 Oct 2026 19:19:51 -0700 Subject: [PATCH] fix: address pr-bug-scan validated finding from #4761 (#5760) Added [@media(hover:none)]:ml-0/max-w-5/opacity-100 touch reveal to REPO_HEADER_ACTION_REVEAL_CLASS so repo/group header action buttons show on touch devices. Co-authored-by: orca-bug-scan-bot Co-authored-by: Neil --- .../src/components/sidebar/repo-header-action-button-class.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/sidebar/repo-header-action-button-class.ts b/src/renderer/src/components/sidebar/repo-header-action-button-class.ts index fd387096d31..58594156f79 100644 --- a/src/renderer/src/components/sidebar/repo-header-action-button-class.ts +++ b/src/renderer/src/components/sidebar/repo-header-action-button-class.ts @@ -1,4 +1,4 @@ export const REPO_HEADER_ACTION_REVEAL_CLASS = - 'min-w-0 max-w-0 -ml-1.5 overflow-hidden opacity-0 focus:ml-0 focus:max-w-5 focus:opacity-100 group-hover:ml-0 group-hover:max-w-5 group-hover:opacity-100' + 'min-w-0 max-w-0 -ml-1.5 overflow-hidden opacity-0 focus:ml-0 focus:max-w-5 focus:opacity-100 group-hover:ml-0 group-hover:max-w-5 group-hover:opacity-100 [@media(hover:none)]:ml-0 [@media(hover:none)]:max-w-5 [@media(hover:none)]:opacity-100' export const REPO_HEADER_ACTION_BUTTON_CLASS = `size-5 shrink-0 ${REPO_HEADER_ACTION_REVEAL_CLASS} rounded-md text-muted-foreground transition-[margin,max-width,opacity,background-color,color] hover:bg-accent/70 hover:text-foreground data-[state=open]:ml-0 data-[state=open]:max-w-5 data-[state=open]:opacity-100`