style/text editor: fix links

This commit is contained in:
Adorian Doran 2025-12-22 01:39:33 +02:00
parent 29d038c76b
commit d99e08bfdd

View File

@ -676,10 +676,15 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
.ck-content a.reference-link:hover {
/* Apply underline only to the span inside the link so it can follow the
* target note's user defined color */
outline: none;
text-decoration: none;
}
.ck-content a.reference-link > span {
color: var(--custom-color, inherit);
}
.ck-content a.reference-link:hover > span {
text-decoration: underline;
}