Skip to main content
Ben_Forrest1
April 4, 2023
Solved

Pseudo slot component frame resizing issues?

Hey folks,
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.

Any help?

This topic has been closed for replies.
Dennis_N
Dennis_NSolution
Power Member
April 5, 2023

I assume your slot is set to fixed height. It needs to be set to “hug” aswell to make it work 🙂

1 reply

Dennis_N
Dennis_NSolution
Power Member
April 5, 2023

I assume your slot is set to fixed height. It needs to be set to “hug” aswell to make it work 🙂