From c5cb3441787652fe6e8f731603533e14616a3cd7 Mon Sep 17 00:00:00 2001 From: Mathias Jakobsen Date: Thu, 7 Sep 2023 15:24:44 +0100 Subject: [PATCH] Merge pull request #14707 from overleaf/mj-table-gen-toolbar-z-index [visual] Set higher z-index for table gen toolbar than cm6 cursor GitOrigin-RevId: 769e33abf84767087b7936f2b3f0a02c80c7dd09 --- .../source-editor/extensions/visual/table-generator.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/js/features/source-editor/extensions/visual/table-generator.ts b/services/web/frontend/js/features/source-editor/extensions/visual/table-generator.ts index f041ebdabf..63a67450cb 100644 --- a/services/web/frontend/js/features/source-editor/extensions/visual/table-generator.ts +++ b/services/web/frontend/js/features/source-editor/extensions/visual/table-generator.ts @@ -196,7 +196,8 @@ export const tableGeneratorTheme = EditorView.baseTheme({ left: '0', right: '0', margin: '0 auto', - 'z-index': '1', + // z-index of cursor layer is 150 + 'z-index': '152', 'border-radius': '4px', width: 'max-content', 'justify-content': 'start',