VS Code Web: sticky editor tabs
Keeps the editor tab bar visible while scrolling content (works on github.dev too).
Code to copy
/* Keep the editor tab bar visible while scrolling content (works on github.dev too) */
.monaco-workbench .tabs-and-actions-container {
position: sticky !important;
top: 0 !important;
z-index: 10 !important;
background: var(--vscode-editorGroupHeader-tabsBackground) !important;
}
How to use this example
- Copy the code with the button above.
- Install JustZix (2 minutes) and open the extension on the target page.
- Add a new rule matching that page.
- Paste the code into the rule's CSS panel and save — the effect appears instantly.
Rate this example
No ratings yet — be the first.