Fix Agents changes CSS specificity

This commit is contained in:
Henning Dieterichs
2026-07-30 11:38:57 +02:00
committed by Henning Dieterichs
parent 20f0cb8512
commit cbe5bca6fa
2 changed files with 12 additions and 4 deletions
@@ -305,7 +305,10 @@
color: var(--vscode-descriptionForeground);
}
.changes-file-list .changes-review-comments-badge .codicon {
/* Include the view owner to outrank
* `.monaco-workbench .codicon[class*='codicon-']` and keep both badge icons at
* the compact 12px size instead of the workbench default 16px. */
.changes-view-body .changes-file-list .changes-review-comments-badge .codicon {
font-size: var(--vscode-codiconFontSize-compact);
}
@@ -318,7 +321,7 @@
color: var(--vscode-descriptionForeground);
}
.changes-file-list .changes-agent-feedback-badge .codicon {
.changes-view-body .changes-file-list .changes-agent-feedback-badge .codicon {
font-size: var(--vscode-codiconFontSize-compact);
}
@@ -29,7 +29,10 @@
pointer-events: none;
}
.agent-sessions-workbench .part.editor .multiDiffEntry .header-content {
/* Include the multi-diff owner to outrank the equally specific core
* `.monaco-component.multiDiffEditor .multiDiffEntry .header .header-content`
* rule for the Agents header margin, padding, border, and background. */
.agent-sessions-workbench .part.editor .multiDiffEditor .multiDiffEntry .header-content {
border-radius: var(--vscode-cornerRadius-medium);
border: none;
background: var(--vscode-sideBarSectionHeader-background);
@@ -42,7 +45,9 @@
border-bottom: none;
}
.agent-sessions-workbench .part.editor .multiDiffEntry .header-content .file-path .title {
/* The same owner keeps the Agents body font size from tying the core
* `.header-content .file-path .title` 14px rule. */
.agent-sessions-workbench .part.editor .multiDiffEditor .multiDiffEntry .header-content .file-path .title {
font-size: var(--vscode-agents-fontSize-body1);
line-height: 22px;
}