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

New component issue report #150

Closed felipemoslavacz closed 3 months ago

felipemoslavacz commented 3 months ago

Describe the problem

The component has irregular padding and there’s a 3-line title not completely visible. It uses an Accordion component internally, but design generated by the plugin looks good for it.


Bug report identity: Please do not edit

Task path: iy5LAnxjYjDyTYLu2Haf/nqkzW9yDN8IslZC7Hz6M/1h2ovjtbt5cfz

gqio commented 3 months ago

Hello @felipemoslavacz

Apparently the issue I get is with the svg here not aligned correctly according to the DOM

image

I see there is a flex and item-center class on the tag SVG. Apparently we are mapping while parsing the story into autolayout props despite there is no impact on the dom on the tag SVG. Still digging

If you see other issues please raise them here.

Best.

felipemoslavacz commented 3 months ago

Hey @gqio, thanks for the feedback.

It was rendering like this after my first import, but maybe it was a glitch. I triggered the reprocessing story and now it looks like yours:

Screenshot 2024-03-13 at 14 49 52

Appreciate for looking into the issue with SVG alignment.

gqio commented 3 months ago

Hello @felipemoslavacz

Thanks for letting me know

I found the issue for the SVG alignement

image

image

position and margin are ok now.

Should be fine when this fix will be release I will keep you posted

Best.