From 5e277cefcf8bd5b3d24fade1be84384b2e01e92c Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Fri, 15 May 2026 19:27:43 -0700 Subject: [PATCH] Align workspace filter popover styling --- .../src/components/sidebar/SidebarFilter.tsx | 46 ++++++++++++------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/src/renderer/src/components/sidebar/SidebarFilter.tsx b/src/renderer/src/components/sidebar/SidebarFilter.tsx index 854bd514d..e68d6a45f 100644 --- a/src/renderer/src/components/sidebar/SidebarFilter.tsx +++ b/src/renderer/src/components/sidebar/SidebarFilter.tsx @@ -15,6 +15,9 @@ import RepoDotLabel from '@/components/repo/RepoDotLabel' import { searchRepos } from '@/lib/repo-search' import { cn } from '@/lib/utils' +const menuItemClassName = + 'rounded-[7px] px-2 py-1 text-[12px] leading-5 font-medium transition-colors hover:bg-black/8 hover:text-accent-foreground focus-visible:bg-black/8 focus-visible:text-accent-foreground focus-visible:outline-none dark:hover:bg-white/14 dark:focus-visible:bg-white/14' + const SidebarFilter = React.memo(function SidebarFilter() { const showActiveOnly = useAppStore((s) => s.showActiveOnly) const setShowActiveOnly = useAppStore((s) => s.setShowActiveOnly) @@ -115,17 +118,20 @@ const SidebarFilter = React.memo(function SidebarFilter() { {hasAnyFilter ? 'Edit filters' : 'Filter workspaces'} - -
- Filters + +
+ Filters
{hasAnyFilter ? ( ) : null} @@ -148,7 +154,9 @@ const SidebarFilter = React.memo(function SidebarFilter() {
-
+
+ +
} label="Active only" @@ -164,8 +172,9 @@ const SidebarFilter = React.memo(function SidebarFilter() {
{canFilterRepos && ( -
-
+
+
+
Repositories {hasRepoFilter && ( @@ -178,7 +187,7 @@ const SidebarFilter = React.memo(function SidebarFilter() {