Parent container with child elements position: absolute does not size properly to fit the children
Really hard to put my thoughts into words but I have a container essentially and I have two h3's inside of it which I want to paginate. I have it working as I want but only when I explicitly tell the container its height and width. I understand its behavior because position absolute pulls it out of the flow but that means without explicit width and height my container is a tiny blob. This impacts my reactiveness of the website as when the width of the device increases or decreases text starts to overflow instead of the container adapting to fit the content
If I remove position absolute and try to explicitly set the width of the child it doesn't work (I try set 1200px)
css:
html react component (You can provide Vanilla JS solution I can convert)
Let me know if you need any more information
If I remove position absolute and try to explicitly set the width of the child it doesn't work (I try set 1200px)
css:
html react component (You can provide Vanilla JS solution I can convert)
Let me know if you need any more information
