Merge pull request #20681 from overleaf/dp-highlight-height

Add padding to change highlight/focus styles

GitOrigin-RevId: 6543fe6545ff8e7baff23d5262b941a5473be19e
This commit is contained in:
David 2024-10-02 12:58:10 +01:00 committed by Copybot
parent 70535f9baa
commit 13545140ee

View file

@ -299,6 +299,12 @@ const trackChangesTheme = EditorView.baseTheme({
'.ol-cm-change': {
padding: 'var(--half-leading, 0) 0',
},
'.ol-cm-change-highlight': {
padding: 'var(--half-leading, 0) 0',
},
'.ol-cm-change-focus': {
padding: 'var(--half-leading, 0) 0',
},
'.ol-cm-change-d': {
borderLeft: '2px dotted #c5060b',
marginLeft: '-1px',