Skip to content

Conversation

@jyefigma
Copy link

@jyefigma jyefigma commented Jul 31, 2025

This PR reorders CSS classes to fix padding

The issue appears to have been caused by a conflict with an existing var(--padding) because when I rename, the UI is fixed

I also reordered padding-lr and scroll for posterity, as the latter previously overrode the former

@jyefigma jyefigma marked this pull request as ready for review August 1, 2025 13:28
Copy link

@paulnapolitano paulnapolitano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

@kliu-figma kliu-figma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's kind of disturbing haha. This is awesome as a quick patch, thanks for doing that so fast, but I guess we should probably fix the root cause at some point!

@kliu-figma
Copy link

kliu-figma commented Aug 1, 2025

(I would have expected the shadow DOM to properly isolate conflicting var names)

EDIT: nvm, apparently it doesn't affect CSS vars

@jyefigma
Copy link
Author

jyefigma commented Aug 1, 2025

That's kind of disturbing haha. This is awesome as a quick patch, thanks for doing that so fast, but I guess we should probably fix the root cause at some point!

Yup, i'm assuming frontend platform might be able to help here, just waiting on FCP to deploy and make sure we're all good!

@jyefigma jyefigma merged commit e58773e into figma-release-3 Aug 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants