Merge pull request #17381 from overleaf/ae-firefox-change-callout

Hide comment/change callout line in Firefox

GitOrigin-RevId: fe0803c71beb1073cf6715ff91a68ed39f578af2
This commit is contained in:
Alf Eaton 2024-03-07 10:42:50 +00:00 committed by Copybot
parent b608c5eae6
commit bd2c3a61f3

View file

@ -346,9 +346,15 @@ const trackChangesTheme = EditorView.baseTheme({
position: 'absolute',
left: 0,
bottom: 0,
width: '10000px',
width: '100vw',
borderBottom: '1px dashed black',
},
// disable callout line in Firefox
'@supports (-moz-appearance:none)': {
'.ol-cm-change-callout-inner': {
display: 'none',
},
},
'.ol-cm-change-callout-i .ol-cm-change-callout-inner': {
borderColor: '#2c8e30',
},