Skip to content

Commit

Permalink
Fix css rules (#90022)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexStrNik committed Oct 23, 2021
1 parent 63cf9b8 commit 870aa86
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -538,16 +538,16 @@ registerThemingParticipant((theme, collector) => {
}
const link = theme.getColor(textLinkForeground);
if (link) {
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a { color: ${link}; }`);
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a[href] { color: ${link}; }`);
}
const activeLink = theme.getColor(textLinkActiveForeground);
if (activeLink) {
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a:hover,
.monaco-workbench .part.editor > .content .walkThroughContent a:active { color: ${activeLink}; }`);
.monaco-workbench .part.editor > .content .walkThroughContent a[href]:active { color: ${activeLink}; }`);
}
const focusColor = theme.getColor(focusBorder);
if (focusColor) {
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a:focus { outline-color: ${focusColor}; }`);
collector.addRule(`.monaco-workbench .part.editor > .content .walkThroughContent a[href]:focus { outline-color: ${focusColor}; }`);
}
const shortcut = theme.getColor(textPreformatForeground);
if (shortcut) {
Expand Down

0 comments on commit 870aa86

Please sign in to comment.