From: Ardis Lu Date: Fri, 30 Aug 2024 06:41:25 +0000 (-0700) Subject: Align search icon vertically with center instead of clear button center X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=124599ed84f26d4b5785a538e770c7f905948e8f;p=ardislu.dev Align search icon vertically with center instead of clear button center The clear button is not a standard control anyway so it didn't make sense to align with it. --- diff --git a/style.css b/style.css index c7b37cc..2271f92 100644 --- a/style.css +++ b/style.css @@ -150,11 +150,10 @@ form > button { background: transparent; border: none; cursor: pointer; - padding: 0; - width: 20px; + padding: 4px; + width: 28px; position: absolute; - inset-inline-end: 4px; - inset-block-end: 0; + inset-inline-end: 0; } h1 {