Skip to content

Commit b3f39e1

Browse files
committed
link home icon size to toolbar height
1 parent 942e9f0 commit b3f39e1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/css/toolbar.css

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@
4040
}
4141

4242
.home-link {
43-
background: url(../img/home-o.svg) no-repeat 50% 45%;
44-
background-size: 50%;
4543
display: block;
46-
height: 2.5rem;
47-
padding: 0;
48-
width: 2.5rem;
44+
background: url(../img/home-o.svg) no-repeat 50% 45% / 50% 50%;
45+
height: var(--toolbar-height);
46+
width: var(--toolbar-height);
4947
}
5048

5149
.home-link:hover,

0 commit comments

Comments
 (0)