From 1aa2d8209251579b4646bc5148550db847d070d8 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Wed, 23 Dec 2020 03:30:39 -0700 Subject: [PATCH] restrict link around home to icon --- src/css/toolbar.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/css/toolbar.css b/src/css/toolbar.css index ac84818..fe3cc5b 100644 --- a/src/css/toolbar.css +++ b/src/css/toolbar.css @@ -41,9 +41,10 @@ .home-link { display: block; - background: url(../img/home-o.svg) no-repeat 50% 45% / 50% 50%; - height: var(--toolbar-height); - width: var(--toolbar-height); + background: url(../img/home-o.svg) no-repeat center; + height: calc(var(--toolbar-height) / 2); + width: calc(var(--toolbar-height) / 2); + margin: calc(var(--toolbar-height) / 4); } .home-link:hover, -- 2.43.2