I have a container that hugs content. Within it, there is a component that has three variants. All the same width but different heights. For some reason when I change the variant it does not update the container with the new variants height, and so the container stays at the same height as the default variant and the content either spills or is not hugged by container.
Assistance would be much appreciated! Thank you.