mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 22:59:01 +02:00
Fix the position of the pasted content menu when scrolling (#14834)
GitOrigin-RevId: df0a8290b7838b83e21676eb69924b11e51b38e6
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ export const PastedContentMenu: FC<{
|
||||
show
|
||||
onHide={() => setMenuOpen(false)}
|
||||
animation={false}
|
||||
container={view.dom}
|
||||
container={view.scrollDOM}
|
||||
containerPadding={0}
|
||||
placement="bottom"
|
||||
rootClose
|
||||
|
||||
@@ -113,6 +113,7 @@ export const pastedContent = StateField.define<{
|
||||
flexDirection: 'column',
|
||||
boxSizing: 'border-box',
|
||||
fontSize: '14px',
|
||||
fontFamily: '"Lato", sans-serif',
|
||||
},
|
||||
'.ol-cm-pasted-content-menu-item': {
|
||||
border: 'none',
|
||||
|
||||
Reference in New Issue
Block a user