From 7608afccc4a4671ab30b7dfaca30e27b052b5619 Mon Sep 17 00:00:00 2001 From: Jannis Braun <151788261+TheZwiss@users.noreply.github.com> Date: Mon, 2 Mar 2026 16:51:17 +0100 Subject: [PATCH] fix: panel separator borders and reaction spacing to match prototype Replace @apply border-none with @apply border-0 on global * selector. border-none sets border-style: none, which silently kills all Tailwind border utilities (they only set width/color, relying on preflight's border-style: solid). border-0 sets border-width: 0 instead, preserving the solid style so border-r/border-l/border-b utilities render correctly. - Add border-r border-border-hard to ChannelSidebar (both DM and server views) - Add border-l border-border-hard to MemberSidebar and ActivityPanel - Replace shadow-header with border-b border-border-hard on sidebar headers - Remove duplicate mt-1 on reaction container (parent gap-1 already provides 4px) --- packages/web/src/components/chat/Message.tsx | 2 +- packages/web/src/components/layout/ActivityPanel.tsx | 2 +- packages/web/src/components/layout/ChannelSidebar.tsx | 8 ++++---- packages/web/src/components/layout/MemberSidebar.tsx | 2 +- packages/web/src/styles/globals.css | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/web/src/components/chat/Message.tsx b/packages/web/src/components/chat/Message.tsx index 74593a4f..232d7c9d 100644 --- a/packages/web/src/components/chat/Message.tsx +++ b/packages/web/src/components/chat/Message.tsx @@ -243,7 +243,7 @@ export function Message({ message, isCompact, isFirstInGroup }: MessageProps) { {/* Reactions */} {Object.keys(reactionGroups).length > 0 && ( -
+
{Object.entries(reactionGroups).map(([emoji, { count, me }]) => ( @@ -271,9 +271,9 @@ export function ChannelSidebar() { return ( <> -
+
{/* Server header */} -
+