Open Tyriar opened 1 month ago
Hi @sandy081 I want to contribute to this extension.
I do not see this issue
Hello @sandy081, I have some steps on how I reproduced the issue + what I think is the problem:
Go to any extensions page, e.g., advanced-new-file
and open up a terminal so that the scrollbar of the extensions page bleeds into the terminal.
Using the developer tools, I found that the "horizontal line" dividing the extensions page content from the terminal is a div
with the following CSS classes monaco-sash horizontal
(maybe playing with the z-axis to ensure this line is render above everything else might fix the issue):
I think that the file responsible for that style is: workbench.desktop.main.css
, which I can't find in the source code for VSCode.
Would you happen to know how I might get direct access to the workbench.desktop.main.css
file to contribute further?
For contribution, please refer to this guide - https://github.com/microsoft/vscode/wiki/How-to-Contribute.
@peterdanwan did you manage to find the workbench.desktop.main.css
file?
Hi @SalerSimo, no I wasn't - do you have an idea of where I can locate it?
@peterdanwan I couldn't find it either, but I think we should just locate the code where these specific elements are created and changing some style properties there.
@Tyriar does the scroll bar escape the editor only when there is a terminal open, or are there other cases where this happens?
@SalerSimo not sure, that's just the case I spotted it in. It's probably when the panel is showing, not just the terminal.
@Tyriar I might have figured out a way to fix it: I found the element containing the little line that divides the panel from the extension view, and increased its z-index property. It went from this: To this:
It should work not only for the terminal.
If changing this is enough I can submit a PR.
cc @mjbvz since it's a webview, is a z-index fix fine here? Can we not use overflow:hidden to enforce this?
See the red part - the scroll bar escapes the editor: