From 8ba5d4e73156b13ebe1b41959d86ed14caa6fa74 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Fri, 15 Mar 2024 12:02:05 +0100 Subject: [PATCH] Increase hit area on commit teaser title --- src/views/projects/Commit/CommitTeaser.svelte | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/projects/Commit/CommitTeaser.svelte b/src/views/projects/Commit/CommitTeaser.svelte index 4e0d256ae..2c87f7fd4 100644 --- a/src/views/projects/Commit/CommitTeaser.svelte +++ b/src/views/projects/Commit/CommitTeaser.svelte @@ -49,6 +49,14 @@ .summary { font-size: var(--font-size-small); } + .summary::after { + content: ""; + position: absolute; + top: -10px; + right: 0px; + bottom: -10px; + left: -10px; + } .summary:hover { text-decoration: underline; } @@ -68,8 +76,10 @@ node: baseUrl, commit: commit.id, }}> -
- +
+
+ +
{#if commit.description}