make parent container fit video child

i have a video wrapped witha container. the video has a set size. is there any way to make the container expand its height to match the video? the video is overflowing the container right now or is this improper css
1 Reply
Senra
Senra2y ago
I think it is probably improper css by default video tag is inline. But the height will be set automatically to the video height so i think your parent container has a fixed height, which is causing this overflow
Want results from more Discord servers?
Add your server