mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 19:19:03 +01:00
style/text editor/reference links: make the underline use the same color as the link caption
This commit is contained in:
parent
8590ff1f46
commit
4b34ae3fd4
@ -667,3 +667,16 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
|
|||||||
background: var(--accented-background-color);
|
background: var(--accented-background-color);
|
||||||
color: var(--main-text-color);
|
color: var(--main-text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Reference link */
|
||||||
|
|
||||||
|
.ck-content a.reference-link,
|
||||||
|
.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 */
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content a.reference-link > span {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user