From 6355aeb80af3b9c9d2ddd7c2ff7b9fa659677adb Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Wed, 6 Dec 2023 23:11:38 -0800 Subject: [PATCH] Reduce line-height to tightly wrap tags Otherwise the background on hover will peek out of background --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 28c720f..c5a32d2 100644 --- a/index.html +++ b/index.html @@ -41,12 +41,13 @@ } a { + display: inline-block; + line-height: 1; color: var(--secondary); font-weight: 700; text-decoration: none; border-radius: 4px; transition: background-color 500ms; - transform: scaleY(0); } a:hover, -- 2.47.3