Don’t know if it’s due to the update or I’m doing something worng, but I can’t seem to center a SVG element (payment icons, check lin) with margin:0 auto, unless the SVG is set to flex.
Why SVGs are set to flex by default now?
Don’t know if it’s due to the update or I’m doing something worng, but I can’t seem to center a SVG element (payment icons, check lin) with margin:0 auto, unless the SVG is set to flex.
Why SVGs are set to flex by default now?
Hello @Adrenaline22
I see you have that SVG inside of a DIV which is now “display:block;” without any other styles, after the update to Bricks 1.5RC. If you add the SVG inside of a Block element and adjust the flex options the SVG will be centered. At the moment, your solution is centering the contents of the SVG.