You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the preview provided by this extension, borders and scrollbars of code blocks are different from those on the actual GitHub.
GitHub's Behavior
Rendering:
.very-long-content {
content:"very long content very long content very long content very long content very long content very long content very long content very long content very long content very long content";
}
Screenshot:
Extension's Behavior
Screenshot:
Difference:
One-pixel wide border
Scrollbar without buttons at both ends
Scrollbar hidden under the bottom rounded corners
While the detailed design of the scrollbar is also up to the browser, the border is clearly different at least.
The border color is showing up because you have the widgets.border color defined in your settings or the theme you are using for VSCode. I just opened a PR to stop using that #116
The scrollbar looks different because VSCode has created a custom one which is also being used inside the markdown preview. There is no way to override or revert a custom scrollbar so unless someone wants to re-implement one that looks close to the default browser one I'm not sure that's something we can address.
Description
In the preview provided by this extension, borders and scrollbars of code blocks are different from those on the actual GitHub.
GitHub's Behavior
Rendering:
Screenshot:
Extension's Behavior
Screenshot:
Difference:
While the detailed design of the scrollbar is also up to the browser, the border is clearly different at least.
Specs
The text was updated successfully, but these errors were encountered: