SVGZ logo hidden if screen width is too small

digitalpoint

Well-known member
Affected version
2.2.13
This CSS in 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
 
Back
Top Bottom