Skip to content

Commit ad9bcab

Browse files
committed
[Editor] Fix the css of the link in the comment sidebar (bug 1995721)
1 parent a6934b4 commit ad9bcab

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

web/comment_manager.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@
208208
--button-comment-hover-bg: light-dark(#e0e0e6, #52525e);
209209
--button-comment-hover-color: var(--button-comment-color);
210210

211+
--link-fg-color: light-dark(#0060df, #0df);
212+
--link-hover-fg-color: light-dark(#0250bb, #80ebff);
213+
211214
@media screen and (forced-colors: active) {
212215
--comment-date-fg-color: CanvasText;
213216
--comment-bg-color: Canvas;
@@ -229,6 +232,8 @@
229232
--button-comment-border: 1px solid ButtonText;
230233
--button-comment-hover-bg: Highlight;
231234
--button-comment-hover-color: HighlightText;
235+
--link-fg-color: LinkText;
236+
--link-hover-fg-color: LinkText;
232237
}
233238
}
234239

@@ -432,10 +437,15 @@
432437
height: auto;
433438
overflow-wrap: break-word;
434439
margin-block-start: 15px;
440+
color: var(--link-fg-color);
435441

436442
&:focus-visible {
437443
outline: var(--focus-ring-outline);
438444
}
445+
446+
&:hover {
447+
color: var(--link-hover-fg-color);
448+
}
439449
}
440450
}
441451

0 commit comments

Comments
 (0)