From e06cb93fdc5d6e3c4ad9551e0e89cffcc7159a79 Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Tue, 24 Mar 2026 12:49:30 +0800 Subject: [PATCH] fix(css): expand sort header hit area to full th cell Move cursor/hover/user-select styles from .sort-btn to th[data-sort] so the entire column header cell is the interactive target, not just the button text node. Co-Authored-By: Claude --- website/static/style.css | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/website/static/style.css b/website/static/style.css index eadaa13..c93a346 100644 --- a/website/static/style.css +++ b/website/static/style.css @@ -624,18 +624,23 @@ kbd { text-underline-offset: 0.2em; } +th[data-sort] { + cursor: pointer; + user-select: none; + transition: color 180ms ease; +} + +th[data-sort]:hover { + color: var(--accent-deep); +} + .sort-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; - cursor: pointer; - user-select: none; -} - -.sort-btn:hover { - color: var(--accent-deep); + cursor: inherit; } .sort-btn:focus-visible {