Skip to content

Commit 4816587

Browse files
authored
Merge pull request #1414 from mathjax/fix/dark-mode
Restrict anchor color changes to dialogs
2 parents 094a6ed + 7a7cc3b commit 4816587

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ts/ui/dialog/DraggableDialog.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,10 +420,10 @@ export class DraggableDialog {
420420
border: '2px inset #7C7C7C',
421421
'background-color': '#222025',
422422
},
423-
'a[href]': {
423+
'.mjx-dialog a[href]': {
424424
color: '#86A7F5',
425425
},
426-
'a[href]:visited': {
426+
'.mjx-dialog a[href]:visited': {
427427
color: '#DD98E2',
428428
},
429429
'mjx-dialog kbd': {

0 commit comments

Comments
 (0)