From: Ardis Lu Date: Thu, 7 Dec 2023 07:11:38 +0000 (-0800) Subject: Reduce line-height to tightly wrap tags X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=6355aeb80af3b9c9d2ddd7c2ff7b9fa659677adb;p=ens2hex Reduce line-height to tightly wrap tags Otherwise the background on hover will peek out of background --- 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,