@@ -538,16 +538,16 @@ registerThemingParticipant((theme, collector) => {
538
538
}
539
539
const link = theme . getColor ( textLinkForeground ) ;
540
540
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 } ; }` ) ;
542
542
}
543
543
const activeLink = theme . getColor ( textLinkActiveForeground ) ;
544
544
if ( activeLink ) {
545
545
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 } ; }` ) ;
547
547
}
548
548
const focusColor = theme . getColor ( focusBorder ) ;
549
549
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 } ; }` ) ;
551
551
}
552
552
const shortcut = theme . getColor ( textPreformatForeground ) ;
553
553
if ( shortcut ) {