Why does svg stretches to 100% height of parent container when display:flex is applied to parent? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why does svg stretches to 100% height of parent container when display:flex is applied to parent?

Also why isn't width effected as well? https://code.sololearn.com/W46te0f9wBZP/?ref=app

20th Sep 2020, 2:01 PM
Abhay
Abhay - avatar
1 Answer
0
Mirielle[ InAcTiVe ] why is it increasing the height of svg container when it's default value is 150?
20th Sep 2020, 2:38 PM
Abhay
Abhay - avatar