eyedreamer
eyedreamer
KPCKevin Powell - Community
Created by eyedreamer on 7/31/2024 in #front-end
Flex vs Grid Challenge
I manged to solve the svg, but now the intiial problem was reproduced. So the question is how to set the height of the text wrapper which jas display: flex to be the same height as the children together?
5 replies
KPCKevin Powell - Community
Created by eyedreamer on 7/31/2024 in #front-end
Flex vs Grid Challenge
@Alex thanks for the tip! I was thinking Iam doing something wrong, but it seems it is some auatomated setting that I am having hard time of pinpointing it. When I recreated it in codepen, the issue is not there: https://codepen.io/petarpavlov/pen/mdZWEjX There is one other question, though now that I prepared it. You will notice in the code a commented line for min-width of the media-wrapper. Is it possible to define that the media-wrapper (or the illustration) to be 100% high and the width to be automatically assigned? In my current setup it defaults to 0 width unless I specify a hardcoded width.
5 replies