refactor(web): show more / show less are ordinary sidebar sub-rows (#13039)

Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
Julius MarmingeandClaude Fable 5 authored and GitHub committed 2026-09-22 12:22:18 -07:00
1 parent e420ef9833
commit 0fa4a859f6
2 files changed
+1 -3

No files matched your search

@@ -1091,7 +1091,6 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(
render={showMoreButtonRender}
data-thread-selection-safe
size="sm"
className="h-8 w-full translate-x-0 justify-start px-2 text-left text-xs text-sidebar-muted-foreground/75 hover:bg-sidebar-row-hover hover:text-sidebar-foreground"
onClick={() => {
expandThreadListForProject(projectKey);
}}
@@ -1109,7 +1108,6 @@ const SidebarProjectThreadList = memo(function SidebarProjectThreadList(
render={showLessButtonRender}
data-thread-selection-safe
size="sm"
className="h-8 w-full translate-x-0 justify-start px-2 text-left text-xs text-sidebar-muted-foreground/75 hover:bg-sidebar-row-hover hover:text-sidebar-foreground"
onClick={() => {
collapseThreadListForProject(projectKey);
}}
+1 -1
View File
@@ -8,7 +8,7 @@ import * as NodeURL from "node:url";
// components/ui exports are migrated to variants (see vite.config.ts). This gate keeps the
// count from growing: CI fails when findings exceed the ceiling. Lower the ceiling when you
// migrate a file, and delete this script when the rule becomes an error.
export const RESTYLE_CEILING = 776;
export const RESTYLE_CEILING = 766;
const RULE = "shadcn(no-restyle)";