Negative Margins Showing Up? Was it always like this?

Has anyone else noticed that the component library elements that they used now have a negative margin throughout?

I don’t think this was like this before. I would have fixed it and noticed it.

Anyone else seeing and remembering the same thing? Am I going mad?

Maybe this happened when the Component Library bug about drag and drop was fixed?

I can’t answer your question, and I’m not familiar with that specific component; but I will say that negative margins can certainly come in handy in a variety of scenarios.

In the screenshot you provided, it appears as though they are being used to compensate for the 40px padding on the corresponding sides. As such, it at least appears to have been an intentional design choice in this case, but I could be wrong. :face_with_raised_eyebrow:

1 Like

Yeah, I have definitely used negative margins but this one was very odd. No need for it. It was making the page scroll to the side as well, which was not very nice. Thanks for the comment, I can’t see any of my other apps doing this but I didn’t start using the component library till recently. :man_shrugging:

This topic was automatically closed after 14 days. New replies are no longer allowed.