mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #21561 from overleaf/rd-ide-paste
Migrate the editor pasted content popover to Bootstrap 5 GitOrigin-RevId: 2f89d0d6818e219dc5b786b5f21d4d47a91b06c8
This commit is contained in:
@@ -49,17 +49,29 @@ const pastedContentTheme = EditorView.baseTheme({
|
||||
background: 'none',
|
||||
borderRadius: '8px',
|
||||
border: '1px solid rgb(125, 125, 125)',
|
||||
color: 'inherit',
|
||||
margin: '0 4px',
|
||||
opacity: '0.7',
|
||||
'&:hover': {
|
||||
opacity: '1',
|
||||
},
|
||||
'& .material-symbols': {
|
||||
verticalAlign: 'text-bottom',
|
||||
},
|
||||
},
|
||||
'.ol-cm-pasted-content-menu-popover': {
|
||||
backgroundColor: '#fff',
|
||||
maxWidth: 'unset',
|
||||
'& .popover-content': {
|
||||
padding: 0,
|
||||
},
|
||||
'& .popover-body': {
|
||||
color: 'inherit',
|
||||
padding: 0,
|
||||
},
|
||||
'& .popover-arrow::after': {
|
||||
borderBottomColor: '#fff',
|
||||
},
|
||||
},
|
||||
'&dark .ol-cm-pasted-content-menu-popover': {
|
||||
background: 'rgba(0, 0, 0)',
|
||||
@@ -72,6 +84,7 @@ const pastedContentTheme = EditorView.baseTheme({
|
||||
fontFamily: '"Lato", sans-serif',
|
||||
},
|
||||
'.ol-cm-pasted-content-menu-item': {
|
||||
color: 'inherit',
|
||||
border: 'none',
|
||||
background: 'none',
|
||||
padding: '8px 16px',
|
||||
|
||||
Reference in New Issue
Block a user