link home icon size to toolbar height
authorDan Allen <dan@opendevise.com>
Wed, 23 Dec 2020 10:24:07 +0000 (03:24 -0700)
committerDan Allen <dan@opendevise.com>
Wed, 23 Dec 2020 10:24:07 +0000 (03:24 -0700)
src/css/toolbar.css

index 76da9e0..ac84818 100644 (file)
 }
 
 .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,