mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 11:53:40 -05:00
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:
parent
b608c5eae6
commit
bd2c3a61f3
1 changed files with 7 additions and 1 deletions
|
@ -346,9 +346,15 @@ const trackChangesTheme = EditorView.baseTheme({
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
left: 0,
|
left: 0,
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
width: '10000px',
|
width: '100vw',
|
||||||
borderBottom: '1px dashed black',
|
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': {
|
'.ol-cm-change-callout-i .ol-cm-change-callout-inner': {
|
||||||
borderColor: '#2c8e30',
|
borderColor: '#2c8e30',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue