divriots / story-to-design

Keep your Figma libraries true-to-code in a single click.
https://story.to.design
26 stars 0 forks source link

The text element's width is collapsed after import #186

Open tsryu opened 2 days ago

tsryu commented 2 days ago

Describe the problem

Hello~ Sorry for keep bothering you..

I have a problem with the text width on the Notice Component.

After importing with story-to-design, text width is collapsed only for text-align: center stories like below

Storybook Figma
스크린샷 2024-07-01 오후 11 27 00 스크린샷 2024-07-01 오후 11 26 45

In my opinion, it is parsed as auto-height which should be auto-width.

스크린샷 2024-07-01 오후 11 30 29

If you have any idea to fix this. Please tell me. Thanks always :)


Bug report identity: Please do not edit

Task path: 25Eqsg9Q3TpEpyGjd17z/lBxhIMbtM3yBbAUxTqc6/12m1o4p1crpvuq