From 619a60e845298b4becfc5e190bbb334733598815 Mon Sep 17 00:00:00 2001 From: eti Date: Tue, 1 Sep 2026 18:02:59 +0200 Subject: [PATCH] web/repo: lighten TreeHeader, LastCommitPanel & FileTree rows Signed-off-by: eti --- web/src/lib/components/repo/FileTree.svelte | 6 +++--- .../lib/components/repo/LastCommitPanel.svelte | 15 +++++++-------- web/src/lib/components/repo/TreeHeader.svelte | 7 ++++--- web/src/lib/components/ui/Separator.svelte | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/web/src/lib/components/repo/FileTree.svelte b/web/src/lib/components/repo/FileTree.svelte index a855304df..a0554fdb5 100644 --- a/web/src/lib/components/repo/FileTree.svelte +++ b/web/src/lib/components/repo/FileTree.svelte @@ -75,7 +75,7 @@ {#if entry.lastCommitHash && entry.lastCommitMessage} {splitMessage(entry.lastCommitMessage)[0]} @@ -84,14 +84,14 @@ {/if}
{#if entry.lastCommitHash && entry.lastCommitWhen} diff --git a/web/src/lib/components/repo/LastCommitPanel.svelte b/web/src/lib/components/repo/LastCommitPanel.svelte index d762cf317..c9d6a04e4 100644 --- a/web/src/lib/components/repo/LastCommitPanel.svelte +++ b/web/src/lib/components/repo/LastCommitPanel.svelte @@ -2,6 +2,7 @@ import { resolve } from "$app/paths"; import Avatar from "$lib/components/ui/Avatar.svelte"; import TimeAgo from "$lib/components/ui/TimeAgo.svelte"; + import Separator from "$lib/components/ui/Separator.svelte"; import type { CommitSummary } from "./types"; interface Props { @@ -16,27 +17,25 @@ + diff --git a/web/src/lib/components/repo/TreeHeader.svelte b/web/src/lib/components/repo/TreeHeader.svelte index d3eb8b52f..ac66235b8 100644 --- a/web/src/lib/components/repo/TreeHeader.svelte +++ b/web/src/lib/components/repo/TreeHeader.svelte @@ -1,4 +1,5 @@ -
+
-
+
{#if folders > 0} {plural(folders, "folder")} {/if} {#if folders > 0 && files > 0} - + {/if} {#if files > 0} {plural(files, "file")} diff --git a/web/src/lib/components/ui/Separator.svelte b/web/src/lib/components/ui/Separator.svelte index 379df5fad..bc597359c 100644 --- a/web/src/lib/components/ui/Separator.svelte +++ b/web/src/lib/components/ui/Separator.svelte @@ -18,5 +18,5 @@
{/if} {:else if variant === "dot"} - · + · {/if} -- 2.54.0