Skip to main content
Solved

Pseudo slot component frame resizing issues?

  • April 4, 2023
  • 1 reply
  • 831 views

Ben_Forrest1

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?

Best answer by Dennis_N

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

View original

1 reply

Dennis_N
  • Power Member
  • 181 replies
  • Answer
  • April 5, 2023

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings