+ headers dock under. the button labels drop out below the width
+ where the full toolbar still fits on that one line -->
{#if !treeOpen}
@@ -202,37 +203,36 @@
icon={allOpen ? FoldVertical : UnfoldVertical}
title={allOpen ? "Collapse lines" : "Expand lines"}
onclick={() => setAllOpen(!allOpen)}
- variant="ghost">{allOpen ? "Collapse" : "Expand"}
+ {allOpen ? "Collapse" : "Expand"}
+
{#if downloadUrls}
{#snippet trigger()}
- Download commit
+ Download commit
{/snippet}
As a patch file
-
+ icon={FileCode}>As a patch file
As a diff file
-
+ icon={FileDiff}>As a diff file
{/if}
@@ -248,7 +248,9 @@
onclick={styleHref ? undefined : () => (localStyle = style)}
{...segmentProps(diffStyle === style)}
>
- {style === "split" ? "Split" : "Unified"}
+ {style === "split" ? "Split" : "Unified"}
{/each}