Skip to content

Commit c794176

Browse files
committed
restrict link around home to icon
1 parent b3f39e1 commit c794176

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/css/toolbar.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@
4141

4242
.home-link {
4343
display: block;
44-
background: url(../img/home-o.svg) no-repeat 50% 45% / 50% 50%;
45-
height: var(--toolbar-height);
46-
width: var(--toolbar-height);
44+
background: url(../img/home-o.svg) no-repeat center;
45+
height: calc(var(--toolbar-height) / 2);
46+
width: calc(var(--toolbar-height) / 2);
47+
margin: calc(var(--toolbar-height) / 4);
4748
}
4849

4950
.home-link:hover,

0 commit comments

Comments
 (0)