In my HTML, I have a dialog
element filled with content. What I am trying to achieve is for the content to adjust its layout based on the height of the dialog container. If the content exceeds the container's height, it should wrap and create a new column. However, I also have specific limitations on how tall the container can be for aesthetic reasons.
I attempted using flex-flow: column wrap
to make the content flow into a new column when needed, but the issue arises because the dialog itself does not resize to fit the content. Is there a way to dynamically expand the dialog
tag to accommodate the flowing content?