Streaming live at 10am (PST)

Auto addition of padding?


#1

Trying to figure out why, when I make a div 50% width inside of a flexbox parent, Webflow adds this 75 pixels to the right and bottom. See attached screen grab. Not the end of the world but weird it puts it in there as a default. Anyone else experiencing this?

Shared link: https://preview.webflow.com/preview/828-homepage?preview=f612c6e37f8433a7ac86fa2c9b0a4661


#3

@Port_of_Folio thanks so much for reporting this issue, we have a bug filed for this and I’ll post an update as soon as I have more information.

That’s showing up as empty div blocks have a 75px by 75px default setting so that it’s easy to add child elements to them. It shouldn’t affect live sites if you override the height style/padding on the element. Thanks again!


#4

Hi @Port_of_Folio

We pushed a fix for this issue.

Everything should work as expected after refreshing the Designer.

Can you please confirm that the issue is resolved on your end as well?

Thanks in advance.


#5

Yep, appears to be working for % values. I tested typing in a pixel value for width and doing this does show the 75px of padding.


#6

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.