diff --git a/frontend/components/workspace/panels/GitPanel.svelte b/frontend/components/workspace/panels/GitPanel.svelte
index e877a9ca..eecbf3d9 100644
--- a/frontend/components/workspace/panels/GitPanel.svelte
+++ b/frontend/components/workspace/panels/GitPanel.svelte
@@ -3658,32 +3658,32 @@ ${bodies}`;
{#if !branch.isCurrent}
-
-
- {#if !nestedPushed.has(branch.name)}
- {#if pushingBranch === branch.name}
-
- {:else}
-
- {/if}
+ {#if pushingBranch === branch.name}
+
+ {:else}
+
+
+ {#if !nestedPushed.has(branch.name)}
+
+ {/if}
+
+
+
{/if}
-
-
-
{:else}
-
- {#if !nestedPushed.has(branch.name) || branch.ahead > 0}
- {#if pushingBranch === branch.name}
-
- {:else}
-
- {/if}
- {/if}
- {#if branch.behind > 0}
-
+ {#if pushingBranch === branch.name}
+
+ {:else}
+
+ {#if !nestedPushed.has(branch.name) || branch.ahead > 0}
+
+ {/if}
+ {#if branch.behind > 0}
+
+ {/if}
+
+
{/if}
-
-
{/if}
{#if isExpanded}
@@ -3718,20 +3718,25 @@ ${bodies}`;
{#if commit.author}{commit.author}{/if}
-
-
{#if !branch.isCurrent}
-
- {:else if i === 0}
- {#if pushingBranch === branch.name}
-
- {:else if showHeadPush}
- {@const isDiverged = nestedPushed.has(branch.name) && (nested.info.ahead ?? 0) > 0 && (nested.info.behind ?? 0) > 0}
-
- {/if}
-
+
+
+
+
+ {:else if i === 0 && pushingBranch === branch.name}
+
+ {:else}
+
+
+ {#if showHeadPush}
+ {@const isDiverged = nestedPushed.has(branch.name) && (nested.info.ahead ?? 0) > 0 && (nested.info.behind ?? 0) > 0}
+
+ {/if}
+ {#if i === 0}
+
+ {/if}
+
{/if}
-
{#if commitExpanded}
@@ -4900,33 +4905,33 @@ ${bodies}`;
{#if !branch.isCurrent}
-
-
- {#if !pushedBranchNames.has(branch.name)}
- {#if pushingBranch === branch.name}
-
- {:else}
-
- {/if}
+ {#if pushingBranch === branch.name}
+
+ {:else}
+
+
+ {#if !pushedBranchNames.has(branch.name)}
+
+ {/if}
+
+
+
{/if}
-
-
-
- {:else}
-
- {#if !pushedBranchNames.has(branch.name) || branch.ahead > 0}
+ {:else}
{#if pushingBranch === branch.name}
-
+
{:else}
-
+
+ {#if !pushedBranchNames.has(branch.name) || branch.ahead > 0}
+
+ {/if}
+ {#if branch.behind > 0}
+
+ {/if}
+
+
{/if}
{/if}
- {#if branch.behind > 0}
-
- {/if}
-
-
- {/if}
{#if isExpanded}
@@ -4960,20 +4965,25 @@ ${bodies}`;
{#if commit.author}{commit.author}{/if}
-
-
{#if !branch.isCurrent}
-
- {:else if i === 0}
- {#if pushingBranch === branch.name}
-
- {:else if showHeadPush}
- {@const isDiverged = pushedBranchNames.has(branch.name) && (branchInfo?.ahead ?? 0) > 0 && (branchInfo?.behind ?? 0) > 0}
-
- {/if}
-
+
+
+
+
+ {:else if i === 0 && pushingBranch === branch.name}
+
+ {:else}
+
+
+ {#if showHeadPush}
+ {@const isDiverged = pushedBranchNames.has(branch.name) && (branchInfo?.ahead ?? 0) > 0 && (branchInfo?.behind ?? 0) > 0}
+
+ {/if}
+ {#if i === 0}
+
+ {/if}
+
{/if}
-
{#if commitExpanded}