mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #18214 from overleaf/ae-visual-underline
[visual] Set text-underline-offset for links GitOrigin-RevId: c65a92cada0e219bdb72e10d8987dbd5da7cd629
This commit is contained in:
parent
de353bd8aa
commit
a2ff44d7d4
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ const mainVisualTheme = EditorView.theme({
|
||||||
'.ol-cm-link-text': {
|
'.ol-cm-link-text': {
|
||||||
textDecoration: 'underline',
|
textDecoration: 'underline',
|
||||||
fontFamily: 'inherit',
|
fontFamily: 'inherit',
|
||||||
|
textUnderlineOffset: '2px',
|
||||||
},
|
},
|
||||||
'.ol-cm-monospace': {
|
'.ol-cm-monospace': {
|
||||||
fontFamily: 'var(--source-font-family)',
|
fontFamily: 'var(--source-font-family)',
|
||||||
|
|
Loading…
Reference in a new issue