Skip to content

Commit bef57b3

Browse files
committed
style <img> instead of <svg>
1 parent 26af3c6 commit bef57b3

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

assets/sass/cheat-sheet.scss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
margin: 0 8px;
1919
}
2020

21-
svg {
22-
height: auto;
23-
width: 100%;
24-
}
25-
2621
h3 {
2722
color: var(--font-color);
2823
line-height: 1em;
@@ -114,4 +109,4 @@
114109
}
115110
}
116111
}
117-
}
112+
}

assets/sass/dark-mode.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
color: #6969dd;
154154
}
155155

156-
.cheat-sheet svg {
156+
.cheat-sheet img {
157157
filter: invert(60%);
158158
}
159159
}

0 commit comments

Comments
 (0)