From 7b296267dcdd2282b7442e1d28c42bbff9903d5e Mon Sep 17 00:00:00 2001 From: oppiliappan Date: Wed, 28 Oct 2026 10:04:20 +0000 Subject: [PATCH] web/repo: use the same commit body toggle in all commit lists and remove the body background Signed-off-by: oppiliappan --- web/src/lib/components/repo/CommitBodyToggle.svelte | 2 +- web/src/lib/components/repo/CommitList.svelte | 2 +- web/src/lib/components/repo/CommitSubject.svelte | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/lib/components/repo/CommitBodyToggle.svelte b/web/src/lib/components/repo/CommitBodyToggle.svelte index 37300daea..0f56e5300 100644 --- a/web/src/lib/components/repo/CommitBodyToggle.svelte +++ b/web/src/lib/components/repo/CommitBodyToggle.svelte @@ -17,6 +17,6 @@ icon={Ellipsis} aria-expanded={expanded} aria-label="Toggle commit body" - class={className} + class="h-5 min-h-5 rounded-full {className ?? ''}" {onclick} /> diff --git a/web/src/lib/components/repo/CommitList.svelte b/web/src/lib/components/repo/CommitList.svelte index 6a9ea7110..a81d08dcc 100644 --- a/web/src/lib/components/repo/CommitList.svelte +++ b/web/src/lib/components/repo/CommitList.svelte @@ -45,7 +45,7 @@ {#if hasBodyBeyondSignOffs(commit.body) && expanded[commit.hash]}

{commit.body}

diff --git a/web/src/lib/components/repo/CommitSubject.svelte b/web/src/lib/components/repo/CommitSubject.svelte index f31637fdc..d29b43029 100644 --- a/web/src/lib/components/repo/CommitSubject.svelte +++ b/web/src/lib/components/repo/CommitSubject.svelte @@ -33,7 +33,7 @@ {/if} -- 2.54.0