Bricks Version: 1.4 beta
Browser: Chrome 90
OS: Windows
The svg configuration is not saved, nothing changes, there is only the icon-svg class that comes by default in the file bricks/assets/css/frontend-light.min.css
Bricks Version: 1.4 beta
Browser: Chrome 90
OS: Windows
The svg configuration is not saved, nothing changes, there is only the icon-svg class that comes by default in the file bricks/assets/css/frontend-light.min.css
Hi Abel,
Thanks a lot for your report!
Please try to regenerate your styles and see, if it solves your issue.
Unfortunately, I am not able to reproduce it.
Best regards,
timmse
The settings do not work, neither as svg nor as an icon.
I have already regenerated the files.
the same thing happens to the partner
Had the same issue after updating to the beta. If you create a class, you’ll then be able to assign your max-width. Width’s aren’t working on the #ID for SVG element
Hi Andy,
That’s a different issue. You are using the SVG element while he is using the icon element
I think it depends heavily on the SVG you are using, regardless of the element. Can you both please try the two SVGs here? They are both from icons8, not customized, and work without any issues for me.
Best regards,
timmse
Hi guys,
I dug deeper and found the issue. The problem occurs if the SVG already contains an ID or a class attribute. You can download your SVG, open it with a text editor, remove the IDs and Classes, and see if it solves your issue.
But this should not be the requirement for an SVG…
I’ve added it to our bug tracker.
Best regards,
timmse
Hey @timmse,
I don’t know if the issue you mentionned is the same, but I’ve got this problem with svg class:
Bricks classes are applied to inner path of uploaded svg, which prevents from styling.
For the others, I’ve found that you need to set viewbow in the SVG file to keep the right apect ratio, and use width or height in the builder to set the size.
If you keep width and height in the svg file, you’ll need to set BOTH width and height in the builder to override file size, which is annoying.
Yes, we have found various sub-forms of this bug. Partially the classes were also inserted in g tags… totally weird