Fix hover on command status bar items (#332068)

This commit is contained in:
Dmitriy Vasyura
2026-08-22 01:03:05 +00:00
committed by GitHub
parent 150cf9472d
commit 00cc2df8db
2 changed files with 6 additions and 0 deletions
@@ -183,6 +183,10 @@
background-color: var(--vscode-statusBarItem-warningBackground);
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.warning-kind.has-command:hover {
background-color: var(--vscode-statusBarItem-warningHoverBackground);
}
.monaco-workbench .part.statusbar > .items-container > .statusbar-item.warning-kind a:hover:not(.disabled) {
color: var(--vscode-statusBarItem-warningHoverForeground);
background-color: var(--vscode-statusBarItem-warningHoverBackground) !important;
@@ -165,8 +165,10 @@ export class StatusbarEntryItem extends Disposable {
}
});
this.container.classList.add('has-command');
this.labelContainer.classList.remove('disabled');
} else {
this.container.classList.remove('has-command');
this.labelContainer.classList.add('disabled');
}
}