mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 05:41:33 +02:00
Avoid highlighting the focused tracked change (#26681)
GitOrigin-RevId: fcc47f9d23ae870e781bb0f772e2604e630cf292
This commit is contained in:
@@ -397,6 +397,9 @@ const trackChangesTheme = EditorView.baseTheme({
|
||||
{
|
||||
backgroundColor: 'rgba(194, 93, 11, 0.15)',
|
||||
},
|
||||
'.ol-cm-change-focus .ol-cm-change': {
|
||||
backgroundColor: 'transparent',
|
||||
},
|
||||
'.ol-cm-change': {
|
||||
padding: 'var(--half-leading, 0) 0',
|
||||
},
|
||||
@@ -422,12 +425,4 @@ const trackChangesTheme = EditorView.baseTheme({
|
||||
borderLeft: '3px solid #c5060b',
|
||||
marginLeft: '-2px',
|
||||
},
|
||||
'&light .ol-cm-change-d-focus': {
|
||||
borderLeft: '3px solid #B83A33',
|
||||
marginLeft: '-2px',
|
||||
},
|
||||
'&dark .ol-cm-change-d-focus': {
|
||||
borderLeft: '3px solid #B83A33',
|
||||
marginLeft: '-2px',
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user