ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,683
- Points
- 823
Reputation:
This CSS in
Code:
it probably makes more sense for the selector to be a "contains" rather than "ends with" because the .svgz extension is a valid SVG (it simply means it's compressed):
Code:
Either way as it is now, the logo disappears if it's a .svgz image, but doesn't disappear (as expected) if it's .svg
Continue reading...
app_nav.less
causes an SVGZ image to be hidden if the extension is .svgz:Code:
&:not([src$=".svg"])
it probably makes more sense for the selector to be a "contains" rather than "ends with" because the .svgz extension is a valid SVG (it simply means it's compressed):
Code:
&:not([src*=".svg"])
Either way as it is now, the logo disappears if it's a .svgz image, but doesn't disappear (as expected) if it's .svg
Continue reading...