Skip to content

Commit 870aa86

Browse files
authored
Fix css rules (microsoft#90022)
1 parent 63cf9b8 commit 870aa86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vs/workbench/contrib/welcome/walkThrough/browser/walkThroughPart.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,16 +538,16 @@ registerThemingParticipant((theme, collector) => {
538538
}
539539
const link = theme.getColor(textLinkForeground);
540540
if (link) {
541-
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a { color: ${link}; }`);
541+
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a[href] { color: ${link}; }`);
542542
}
543543
const activeLink = theme.getColor(textLinkActiveForeground);
544544
if (activeLink) {
545545
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a:hover,
546-
.monaco-workbench .part.editor > .content .walkThroughContent a:active { color: ${activeLink}; }`);
546+
.monaco-workbench .part.editor > .content .walkThroughContent a[href]:active { color: ${activeLink}; }`);
547547
}
548548
const focusColor = theme.getColor(focusBorder);
549549
if (focusColor) {
550-
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a:focus { outline-color: ${focusColor}; }`);
550+
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a[href]:focus { outline-color: ${focusColor}; }`);
551551
}
552552
const shortcut = theme.getColor(textPreformatForeground);
553553
if (shortcut) {

0 commit comments

Comments
 (0)