Skip to content

Commit

Permalink
fix: changed svg color value from #fff to white (#185)
Browse files Browse the repository at this point in the history
The color value with # breaks building/minifying in symfony project with webpack-encore-bundle (Error: SvgoParserError: <input>:1:259: Unquoted attribute value).
Beyond that the value with # is an inconsistency as the other two values in line 85 and line 96 are "grey" and "white".
  • Loading branch information
jvl1v5 authored Dec 23, 2022
1 parent 41cd619 commit 2f48359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/assets/scss/components/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}

&.has-sub:after {
content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9" style="fill:none;stroke:#fff;stroke-width:1"></polyline></svg>');
content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9" style="fill:none;stroke:white;stroke-width:1"></polyline></svg>');
}
}
}
Expand Down Expand Up @@ -168,4 +168,4 @@
}
@media screen and (min-width: 1200px) {

}
}

0 comments on commit 2f48359

Please sign in to comment.