diff --git a/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts b/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts index 618d0960..6f842c10 100644 --- a/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts +++ b/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts @@ -466,11 +466,14 @@ export class ExtensionsViewPaneContainer extends ViewPaneContainer implements IE helperHeader.style.fontWeight = '600'; helperHeader.style.padding = 'padding: 5px 16px'; helperHeader.style.position = 'relative'; + + const helperText = append(helperHeader, $('div')); + // We call this function because it gives us access to the current theme // Then we can apply the link color to the links in the helper header registerThemingParticipant((theme) => { const linkColor = theme.getColor(textLinkForeground); - helperHeader.innerHTML = ` + helperText.innerHTML = `

WARNING

@@ -481,6 +484,7 @@ export class ExtensionsViewPaneContainer extends ViewPaneContainer implements IE

`; }); + const dismiss = append(helperHeader, $('span')); dismiss.innerHTML = 'Dismiss'; dismiss.style.display = 'block';