-
Notifications
You must be signed in to change notification settings - Fork 57
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
Text is wrapping at different points than what GitHub shows #36
Comments
Wish I could help on this one. The width set in the dependency you use is 980px which is still the same as the current github width. I think to begin with, are you able to reproduce the abnormal wrapping on MacOS @mjbvz? Or if you're on Windows too, does it wrap for you as well? |
This happens on Windows too. The issue looks to be a result of the container padding being set to
If you pull up dev tools on your example document and adjust the left/right padding of the container element the text will wrap just like it does in VS Code. |
It would be amazing if fixed in this extension as using |
Hi,
I've maximized the preview panel as wide as possible to ensure it has maximum viewing width but I'm still finding a lot of cases where wraps are happening at different points with your extension. This is at 1:1 scaling on Windows 10 using VSCode 1.29.0-insider.
Here's 2 examples:
https://github.com/nickjj/ansible-docker/tree/v1.3.0#example-usage
Take a look at this snippet of text from the above repo:
With your extension, it wraps after "which is" and then "located relative" is on a new line, but on GitHub the "located" is still on the previous line.
https://github.com/nickjj/ansible-docker/tree/v1.3.0#trying-to-figure-out-how-to-downgrade-docker
Here's another snippet:
With your extension, it wraps after "and then run" and then "this role afterwards" is on a new line, but on GitHub the "this" is still on the previous line.
Does the entire preview render area need to be increased by a few pixels?
The text was updated successfully, but these errors were encountered: