Skip to content

Commit d62a82f

Browse files
committed
always set the background size for SVGs [skip ci]
1 parent 16a9cee commit d62a82f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/css/nav.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
}
9999

100100
.nav-menu-toggle {
101-
background: transparent url(../img/octicons-24.svg#view-unfold) no-repeat center;
101+
background: transparent url(../img/octicons-24.svg#view-unfold) no-repeat center / 100% 100%;
102102
border: none;
103103
outline: none;
104104
width: 0.9rem;
@@ -161,7 +161,7 @@
161161
}
162162

163163
.nav-item-toggle {
164-
background: transparent url(../img/octicons-16.svg#view-triangle-right) no-repeat center;
164+
background: transparent url(../img/octicons-16.svg#view-triangle-right) no-repeat center / 100% 100%;
165165
opacity: 0.25;
166166
border: none;
167167
outline: none;

src/css/toolbar.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
.home-link {
4242
display: block;
43-
background: url(../img/octicons-24.svg#view-home) no-repeat center;
43+
background: url(../img/octicons-24.svg#view-home) no-repeat center / 100% 100%;
4444
height: calc(var(--toolbar-height) / 2);
4545
width: calc(var(--toolbar-height) / 2);
4646
margin: calc(var(--toolbar-height) / 4);

0 commit comments

Comments
 (0)