mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix the position of the pasted content menu when scrolling (#14834)
GitOrigin-RevId: df0a8290b7838b83e21676eb69924b11e51b38e6
This commit is contained in:
parent
cf0dc6f132
commit
ab47ac2c20
2 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,7 @@ export const PastedContentMenu: FC<{
|
||||||
show
|
show
|
||||||
onHide={() => setMenuOpen(false)}
|
onHide={() => setMenuOpen(false)}
|
||||||
animation={false}
|
animation={false}
|
||||||
container={view.dom}
|
container={view.scrollDOM}
|
||||||
containerPadding={0}
|
containerPadding={0}
|
||||||
placement="bottom"
|
placement="bottom"
|
||||||
rootClose
|
rootClose
|
||||||
|
|
|
@ -113,6 +113,7 @@ export const pastedContent = StateField.define<{
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
boxSizing: 'border-box',
|
boxSizing: 'border-box',
|
||||||
fontSize: '14px',
|
fontSize: '14px',
|
||||||
|
fontFamily: '"Lato", sans-serif',
|
||||||
},
|
},
|
||||||
'.ol-cm-pasted-content-menu-item': {
|
'.ol-cm-pasted-content-menu-item': {
|
||||||
border: 'none',
|
border: 'none',
|
||||||
|
|
Loading…
Reference in a new issue