So I have been using this tutorial to create a card component for our design system. Mostly this is working.
However, when I go to use the component in design work, I am having issues when the slots are replaced by content that the frame is still fixed height and width. I have tried changing this on the layer and its children to hug or fill, but Figma is then fixing the height or width back to fixed.
This this the example attached where I am unable to get the frame to hug the content of the text.