diff --git a/app/src/lib/components/BaseBranchCard.svelte b/app/src/lib/components/BaseBranchCard.svelte index 9be10f2c2..d39b765f7 100644 --- a/app/src/lib/components/BaseBranchCard.svelte +++ b/app/src/lib/components/BaseBranchCard.svelte @@ -38,14 +38,14 @@ {#if !isNavCollapsed}
-
+
Trunk {#if ($base?.behind || 0) > 0} {/if}
-
+
{#if $base?.remoteUrl.includes('github.com')} {/if} - {$base?.branchName} + {$base?.branchName}
{/if} @@ -96,21 +96,29 @@ display: flex; flex-direction: column; gap: var(--size-8); + overflow: hidden; } .trunk-label { color: var(--clr-text-1); } - .row_1 { + .button-head { display: flex; gap: var(--size-4); align-items: center; color: var(--clr-scale-ntrl-10); } - .row_2 { + .base-branch-label { display: flex; align-items: center; gap: var(--size-4); color: var(--clr-scale-ntrl-40); + overflow: hidden; + + & span { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + } } .small-count-badge { position: absolute;