Skip to content

Instantly share code, notes, and snippets.

@victor141516
Last active May 11, 2023 10:40
Show Gist options
  • Save victor141516/5a02a9b2f80760d0e9ecca1ec0c58e6b to your computer and use it in GitHub Desktop.
Save victor141516/5a02a9b2f80760d0e9ecca1ec0c58e6b to your computer and use it in GitHub Desktop.
VSCode custom css
/* the buttons on the right of the file tabs */
[id="workbench.parts.editor"] .title-actions ul > li:has(:not(.codicon-close-dirty)) {
display: none !important;
}
/* the buttons on the right of the window title */
.titlebar-right .monaco-toolbar {
display: none !important;
}
/* new file, new folder, etc. buttons on the top of the file explorer */
.sidebar .actions-container[role=toolbar]:has([class*='-new-file']) {
display: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment