Merge pull request #18214 from overleaf/ae-visual-underline

[visual] Set text-underline-offset for links

GitOrigin-RevId: c65a92cada0e219bdb72e10d8987dbd5da7cd629
This commit is contained in:
Alf Eaton 2024-05-08 11:37:04 +01:00 committed by Copybot
parent de353bd8aa
commit a2ff44d7d4

View file

@ -62,6 +62,7 @@ const mainVisualTheme = EditorView.theme({
'.ol-cm-link-text': {
textDecoration: 'underline',
fontFamily: 'inherit',
textUnderlineOffset: '2px',
},
'.ol-cm-monospace': {
fontFamily: 'var(--source-font-family)',