Skip to content
TypeScript

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

Julius Marminge0fa4a859f699
diff --git a/apps/web/src/components/LegacySidebar.tsx b/apps/web/src/components/LegacySidebar.tsx
index 910bb23be7c..97df88f889c 100644
--- a/apps/web/src/components/LegacySidebar.tsx
+++ b/apps/web/src/components/LegacySidebar.tsx
@@ -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);
}}
diff --git a/scripts/lint-restyle-ceiling.ts b/scripts/lint-restyle-ceiling.ts
index 5029db529de..f361c42ad89 100644
--- a/scripts/lint-restyle-ceiling.ts
+++ b/scripts/lint-restyle-ceiling.ts
@@ -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)";