From c93ab0f1376c5f5bb775bd620a0bfa301e9e3031 Mon Sep 17 00:00:00 2001
From: Kevin Longe <273747162+kvlonge@users.noreply.github.com>
Date: Mon, 30 Nov 2026 08:40:33 +0000
Subject: [PATCH] Limit the tool card header link to its logo, name and site
The header link spanned the whole row, so clicking the empty space to the
right of a tool's name opened its website. Only the logo, name and site text
take the pointer now; layout and keyboard focus are unchanged.
---
index.html | 2 +-
styles.css | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/index.html b/index.html
index c1af2b8..e2e6c3a 100644
--- a/index.html
+++ b/index.html
@@ -28,7 +28,7 @@
-
+
diff --git a/styles.css b/styles.css
index 68957a4..d80a500 100644
--- a/styles.css
+++ b/styles.css
@@ -163,12 +163,14 @@ h1 { margin: 0; max-width: 11ch; font-size: clamp(44px, 5.4vw, 80px); line-heigh
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
/* Each card spans four rows of the grid, so names, lines and snippets start level across a row. */
.tool { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; min-width: 0; padding: 24px 24px 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); background: var(--background); }
-.tool-head { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
+/* Only the logo, name and site take the click, not the empty space across the row between them. */
+.tool-head { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; pointer-events: none; }
+.tool-head > * { pointer-events: auto; }
.tool-head:hover { text-decoration: none; }
.tool-head:hover .tool-name { text-decoration: underline; text-underline-offset: 4px; }
.tool-head img { width: 28px; height: 28px; }
.tool-head img.wide { width: 34px; }
-.tool-name { font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 700; }
+.tool-name { margin-left: -12px; padding-left: 12px; font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 700; } /* reaches back over the gap to the logo */
.tool-site { margin-left: auto; color: var(--muted); font-size: 13px; }
.tool-head:hover .tool-site { color: var(--blue); }
.tool-what { display: block; margin-top: 12px; color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.45; }