From 253c97b92270db6a9152c73ac9ae552b3f5233c1 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Thu, 2 May 2024 23:01:07 +0800 Subject: [PATCH] Add hover outline to heatmap squares (#30828) (#30832) Backport #30828 by @silverwind Makes it easier to use because you see which square is currently hovered: Screenshot 2024-05-02 at 15 38 20 I did try a `scoped` style for this, but that did not work for some reason. Co-authored-by: silverwind --- web_src/css/features/heatmap.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web_src/css/features/heatmap.css b/web_src/css/features/heatmap.css index 364754751..c064590c4 100644 --- a/web_src/css/features/heatmap.css +++ b/web_src/css/features/heatmap.css @@ -31,6 +31,10 @@ padding: 0 5px; } +#user-heatmap .vch__day__square:hover { + outline: 1.5px solid var(--color-text); +} + /* move the "? contributions in the last ? months" text from top to bottom */ #user-heatmap .total-contributions { font-size: 11px;