Skip to content

Instantly share code, notes, and snippets.

@sulco
Created December 13, 2023 14:54
Show Gist options
  • Save sulco/ed5cbd432265ddc94e0219709b3a331d to your computer and use it in GitHub Desktop.
Save sulco/ed5cbd432265ddc94e0219709b3a331d to your computer and use it in GitHub Desktop.
hide vscode action icons – only show them on hover
.title-actions,
.global-actions,
.editor-actions {
opacity: 0 !important;
transition: opacity 0.2s;
}
.title-actions:hover,
.editor-actions:hover {
opacity: 1 !important;
}
.title-actions:hover + .global-actions,
.global-actions:hover,
.title-actions:has(+ .global-actions:hover) {
opacity: 1 !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment