Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(v2): increase CSS specificity on application container #2367

Merged
merged 2 commits into from
Mar 7, 2020

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented Mar 6, 2020

Motivation

Resolve #2364

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

No UI changes. Try it out on preview.

Related PRs

(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

@lex111 lex111 added the pr: polish This PR adds a very minor behavior improvement that users will enjoy. label Mar 6, 2020
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Mar 6, 2020
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Mar 6, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 5eeeea0

https://deploy-preview-2367--docusaurus-2.netlify.com

@@ -15,7 +15,7 @@ body {
transition: var(--ifm-transition-fast) ease color;
}

body > div {
body > div:first-of-type {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we do body > #__docusaurus? There's no guarantee someone will not inject more <div> at the start of the <body>

@yangshun
Copy link
Contributor

yangshun commented Mar 7, 2020

Tested with a pretty empty <div class="main-wrapper"> container:

Screen Shot 2020-03-07 at 12 09 50 PM

@yangshun yangshun merged commit 5904410 into master Mar 7, 2020
@yangshun yangshun deleted the lex111/increase-sp branch March 7, 2020 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: polish This PR adds a very minor behavior improvement that users will enjoy.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[v2] Ant Design components don't work correctly (body > div sets height 100%)
4 participants