mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
fix: remove webkit patch for safari input height jumping on persistent scrollbars since it causes a full on crash in firefox (#36589)
GitOrigin-RevId: a64fcae032ad8370c67b9e0a05b54c2e0759d40f
This commit is contained in:
committed by
Copybot
parent
c861628684
commit
73ef3f6439
@@ -89,14 +89,7 @@ const reviewPanelInputTheme = EditorView.theme({
|
||||
},
|
||||
'.cm-scroller': {
|
||||
lineHeight: 'var(--line-height-02)',
|
||||
// Hide scrollbars so they don't consume layout width on systems that use
|
||||
// non-overlay scrollbars (e.g. macOS "always show scrollbars"), which would
|
||||
// otherwise trigger extra remeasure cycles. Scrolling still works via
|
||||
// trackpad/keyboard.
|
||||
scrollbarWidth: 'none',
|
||||
'&::-webkit-scrollbar': {
|
||||
display: 'none',
|
||||
},
|
||||
},
|
||||
'.cm-content': {
|
||||
// --rp-input-min-height is set per-variant on the host in review-panel.scss.
|
||||
|
||||
Reference in New Issue
Block a user