Skip to content
TypeScript

fix(web): folder rows no longer jump at larger interface font sizes (#28428)

sergiiopm52715df3870d
diff --git a/apps/web/src/components/sidebar/SidebarThreadRow.tsx b/apps/web/src/components/sidebar/SidebarThreadRow.tsx
index fc47fd8e21a..fa87252de14 100644
--- a/apps/web/src/components/sidebar/SidebarThreadRow.tsx
+++ b/apps/web/src/components/sidebar/SidebarThreadRow.tsx
@@ -1198,8 +1198,8 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
{...sortableRootProps}
{...(fileDropHandlers ?? {})}
className={cn(
- "list-none [content-visibility:auto] [contain-intrinsic-size:auto_36px]",
- metaLine !== null && multiline && "[contain-intrinsic-size:auto_54px]",
+ "list-none [content-visibility:auto] [contain-intrinsic-size:auto_--spacing(9)]",
+ metaLine !== null && multiline && "[contain-intrinsic-size:auto_--spacing(13.5)]",
sortable?.isDragging && "relative z-20",
)}
>