Skip to content

Conversation

TrumanGao
Copy link

No description provided.

Copy link
Member

@haoqunjiang haoqunjiang left a comment

Choose a reason for hiding this comment

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

Could you elaborate why this change is necessary?

@TrumanGao
Copy link
Author

Could you elaborate why this change is necessary?

In some third-party dependencies (e.g. monaco-editor), the offsets of some positioned elements are not relative to their parent nodes but their ancestor nodes, cuz their parent nodes have no position attribute. Therefor, the original code may lead to certain unexpected offsets.

Copy link
Member

@haoqunjiang haoqunjiang left a comment

Choose a reason for hiding this comment

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

Makes sense.
But this change breaks the styles of the landing page. We need to fix that before removing the global reset.

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.

2 participants