Revert "fix(v2): remove auto wrap for code blocks (#2048)" #2071
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
As mentioned in #2056
and #2048 (comment)
I think it might be best to revert #2048 first. If we want to attempt on removing the codeblock autowrap, we can do it in new PR. Lot of changes has been added since alpha.36 and I think it'd be best to release soon so we can dogfood versioning & lot of other critical bugfix can land.
Because I'm seeing some unpleasant layout that is kinda zoomed and cut off. Notice the scrollbar
![before- (#2048)](https://user-images.githubusercontent.com/17883920/69898328-a867a200-138a-11ea-8ed9-76484dfd9061.PNG)
https://v2.docusaurus.io/docs/next/lifecycle-apis/
https://v2.docusaurus.io/docs/next/markdown-features
![image](https://user-images.githubusercontent.com/17883920/69898335-d4832300-138a-11ea-9e91-683ca71276db.png)
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
No longer zoomed
![image](https://user-images.githubusercontent.com/17883920/69898358-3c396e00-138b-11ea-8b29-2be544a1daf2.png)