Merge pull request #23442 from overleaf/dp-table-label-bug

Use css variable to set insert table label color

GitOrigin-RevId: f99de70c470ca15927ee7ad38d004f94365519ac
This commit is contained in:
Liangjun Song
2025-02-07 11:42:18 +00:00
committed by Copybot
parent eb5417fad5
commit 4ab827bf0f

View File

@@ -249,9 +249,6 @@ const toolbarTheme = EditorView.theme({
},
},
},
'&.overall-theme-dark .ol-cm-toolbar-table-grid-popover': {
color: '#fff',
},
'&.overall-theme-dark .ol-cm-toolbar-table-grid': {
'& td.active': {
outlineColor: 'white',
@@ -288,6 +285,7 @@ const toolbarTheme = EditorView.theme({
borderRadius: '4px',
backgroundColor: 'var(--editor-toolbar-bg)',
pointerEvents: 'all',
color: 'var(--toolbar-btn-color)',
},
'.ol-cm-toolbar-button-menu-popover-unstyled': {
maxWidth: 'unset',