WIP: SVG via Bricks element smaller then 20 Px - not possible?

Hi there.

Can someone confirm that it´s not possible to display a SVG via Bricks element smaller then 20 Px / 2 REM? I´ve tested several things by tuning the SVG code - but nothing seems to help.

You can find the SVG here : Nextcloud

Best / Sascha

You gotta use css to override the min-height of the svg, at least that’s how it was last time I ran into that issue. If anybody knows of a change about this that has been implemented please correct me.

Hey Sascha,

thanks for the report.

Try to set the SVG element’s font-size to the desired size as well. As @manc stated instead of altering the font-size you could also explicitly override the min-width and min-height. Then it should work as expected.

I will investigate if this is something that needs to be fixed on our side.

Here you can see your icon set to .5rem (5px) by also setting the font-size: SVG – Bricks

Best,

André

Hey Sascha,

I think this is something we need to address and I added it to our bug tracker. So thanks again for your report.

Best,

André

Thx guys!

For now I´m happy to use the font-size. :slight_smile: