From a4af708a41860c224edd81f764c652500c9fa3d9 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Thu, 25 Jun 2026 12:21:37 +0200 Subject: [PATCH] fix(web): uniform category spacing in channel sidebar The scroll container's space-y-[2px] utility set margin-bottom:0 (via Tailwind's space-y reverse mechanism) on every category wrapper except the first, with higher specificity (.space-y > :not ~ :not = 0,3,0) than each category's mb-[19px] (0,1,0). This zeroed the 19px separator for all but the first category, so the inter-category gap rendered only below the first category and shifted when categories were reordered. Remove the redundant container-level space-y; the per-category mb-[19px] is the intended separator and now applies uniformly. --- packages/web/src/components/layout/ChannelSidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/components/layout/ChannelSidebar.tsx b/packages/web/src/components/layout/ChannelSidebar.tsx index 0770df11..c878d189 100644 --- a/packages/web/src/components/layout/ChannelSidebar.tsx +++ b/packages/web/src/components/layout/ChannelSidebar.tsx @@ -581,7 +581,7 @@ export function ChannelSidebar() { {/* Channels — dynamic category layout */} -
+
{showChannelSkeleton ? (
{/* Category group 1 */}