From d5b8addbf65b7beca203a8101bfa8a8c3c1023a6 Mon Sep 17 00:00:00 2001 From: Chris Wilton-Magras Date: Thu, 14 Mar 2024 11:50:36 +0000 Subject: [PATCH] Correct alignment of button icons --- index.html | 2 +- src/App.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 1a148a3..fefbd42 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Simple Counter + Counter Demo
diff --git a/src/App.css b/src/App.css index 333db33..56d8f63 100644 --- a/src/App.css +++ b/src/App.css @@ -81,7 +81,8 @@ main button[aria-disabled='true']:hover ~ .tooltip { } main button .icon { font-size: 2rem; - line-height: 1; + line-height: 1.75rem; + padding-bottom: 0.25rem; } @media (prefers-color-scheme: light) {