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

fix(v2): unbreak enhanced width of doc item wrapper #4793

Merged
merged 1 commit into from
May 18, 2021

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented May 14, 2021

Motivation

After collapsing of doc sidebar, doc content container width should increase slightly. This is not happening now, probably because of this change in Infima facebookincubator/infima#62

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

Try to collapse doc sidebar and make sure that width of doc content container has increased.

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: bug fix This PR fixes a bug in a past release. label May 14, 2021
@lex111 lex111 requested a review from slorber as a code owner May 14, 2021 14:24
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label May 14, 2021
@netlify
Copy link

netlify bot commented May 14, 2021

[V1]

Built with commit f0b6038

https://deploy-preview-4793--docusaurus-1.netlify.app

@netlify
Copy link

netlify bot commented May 14, 2021

[V2]

Built with commit f0b6038

https://deploy-preview-4793--docusaurus-2.netlify.app

@github-actions
Copy link

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 55
🟢 Accessibility 96
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-4793--docusaurus-2.netlify.app/

@github-actions
Copy link

Size Change: +10 B (0%)

Total Size: 640 kB

ℹ️ View Unchanged
Filename Size Change
website/build/assets/css/styles.********.css 88.5 kB +10 B (0%)
website/build/assets/js/main.********.js 463 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus/index.html 62 kB 0 B
website/build/docs/introduction/index.html 235 B 0 B
website/build/index.html 26.9 kB 0 B

compressed-size-action

@slorber slorber merged commit b561679 into master May 18, 2021
@slorber slorber deleted the lex111/unbreak-enhanced-layout branch May 18, 2021 10:56
@slorber
Copy link
Collaborator

slorber commented May 18, 2021

LGTM

Do you think it's worth it to add a 2nd case for very large screen somehow (ie handle --ifm-container-width-xl) ?

@lex111
Copy link
Contributor Author

lex111 commented May 18, 2021

Perhaps yes, but I'm not sure if this is necessary. However if we do this, we can use width values from this article.

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: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants