From 7aabf63369f742d9244aad114aec9873986d2b9e Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Wed, 23 Dec 2020 03:24:07 -0700 Subject: [PATCH] link home icon size to toolbar height --- src/css/toolbar.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/css/toolbar.css b/src/css/toolbar.css index 76da9e0..ac84818 100644 --- a/src/css/toolbar.css +++ b/src/css/toolbar.css @@ -40,12 +40,10 @@ } .home-link { - background: url(../img/home-o.svg) no-repeat 50% 45%; - background-size: 50%; display: block; - height: 2.5rem; - padding: 0; - width: 2.5rem; + background: url(../img/home-o.svg) no-repeat 50% 45% / 50% 50%; + height: var(--toolbar-height); + width: var(--toolbar-height); } .home-link:hover, -- 2.11.0