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

Docs: "Using with webpack" page does not render correctly in Firefox #4861

Closed
sloria opened this issue Nov 8, 2017 · 8 comments
Closed

Docs: "Using with webpack" page does not render correctly in Firefox #4861

sloria opened this issue Nov 8, 2017 · 8 comments

Comments

@sloria
Copy link

sloria commented Nov 8, 2017

Do you want to request a feature or report a bug?

bug

What is the current behavior?

https://facebook.github.io/jest/docs/en/webpack.html displays incorrectly in Firefox 57.

using with webpack jest 2017-11-08 08-31-46

If the current behavior is a bug, please provide the steps to reproduce and either a repl.it demo through https://repl.it/languages/jest or a minimal repository on GitHub that we can yarn install and yarn test.

Visit https://facebook.github.io/jest/docs/en/webpack.html in Firefox 57.

What is the expected behavior?

Sidebar renders correctly.

Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.

@thymikee
Copy link
Collaborator

thymikee commented Nov 8, 2017

cc @ericnakagawa is this something on Docusaurus side?

@rogeliog
Copy link
Contributor

rogeliog commented Nov 8, 2017

The same issue is also present in Chrome

@xjlim
Copy link
Contributor

xjlim commented Nov 8, 2017

It seems to be caused by text overflow for long strings such as
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js" in the docs.
A quick fix is to add overflow:auto on .mainContainer. However, I can't reproduce that locally, so it could be due to github pages.

@xjlim
Copy link
Contributor

xjlim commented Nov 12, 2017

@ericnakagawa It seems like the production site is using an old version of Docusaurus. This does not show up locally as it uses the latest version - 1.0.0-beta.x with the proper styling in the generated main.css file.

@elevenpassin
Copy link

Is this still open?

Everything seems to be working fine for me in Firefox 57

image

@cpojer
Copy link
Member

cpojer commented Dec 2, 2017

Closing as it is working now.

@cpojer cpojer closed this as completed Dec 2, 2017
@SimenB
Copy link
Member

SimenB commented Dec 2, 2017

For posterity, fixed in #4781

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants