From 0a9d106f7e49ee08f123ae23d1976629a2489f73 Mon Sep 17 00:00:00 2001 From: Brandon Oxendine Date: Tue, 20 Oct 2026 13:08:20 +0200 Subject: [PATCH] Truncate sidebar repo header label when narrow Fixes: 3d47fc649c19dcc5c17ef9ac2b6710dfbe44ca44 --- desktop/src/components/SidebarRepoList.svelte | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/desktop/src/components/SidebarRepoList.svelte b/desktop/src/components/SidebarRepoList.svelte index 6f0d1eb18..57bfb410e 100644 --- a/desktop/src/components/SidebarRepoList.svelte +++ b/desktop/src/components/SidebarRepoList.svelte @@ -609,6 +609,12 @@ flex: 1; min-width: 0; } + .section-header-label .label { + min-width: 0; + } + .section-header-label .global-counter-badge { + flex-shrink: 0; + } /* Moved by `order`, not in the markup: the FLIP matches by element identity, so the button has to stay one element across the toggle. */ .filter-action { @@ -1075,7 +1081,7 @@ - + {repoListScope.value === "all" ? "All Repos" : "Seeded Repos"} {#if !sidebarCollapsed.value && unpinnedReposCount > 1}