From 5c8ade70c2060c4e110a3113302d4bfe01d9b3e3 Mon Sep 17 00:00:00 2001 From: Caleb Owens Date: Tue, 6 Aug 2024 10:23:31 +0200 Subject: [PATCH] feat(ui): Improve SidebarEntry layout and styling Add 'authors-and-tags' class to row-group for better organization. Hide empty first child in authors-and-tags group to prevent gaps. Enhances visual consistency and reduces unnecessary white space. --- packages/ui/src/lib/sidebarEntry/SidebarEntry.svelte | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/lib/sidebarEntry/SidebarEntry.svelte b/packages/ui/src/lib/sidebarEntry/SidebarEntry.svelte index a3fee5b57..7cd6f6254 100644 --- a/packages/ui/src/lib/sidebarEntry/SidebarEntry.svelte +++ b/packages/ui/src/lib/sidebarEntry/SidebarEntry.svelte @@ -63,7 +63,7 @@
-
+
{@render authorAvatars()}
@@ -137,6 +137,12 @@ } } + .authors-and-tags { + :global(& > *:first-child:empty) { + display: none; + } + } + /* ROW */ .row {