DEV Community

Luís Rudge
Luís Rudge

Posted on

big SVG as flex element ignores height

When I use a really big SVG inside a flex element, it doesn't respect the flex container size and messes up everything :( Any ideas on how to fix this?

This works: https://codepen.io/luisrudge/pen/bGbqeqE?editors=1000
This doesn't work: https://codepen.io/luisrudge/pen/MWgpebo?editors=1000

Top comments (0)