From 31e2a0cb4afcc6ab52b1508f3895ea5cfb9963bd Mon Sep 17 00:00:00 2001 From: David Luzar <5153846+dwelle@users.noreply.github.com> Date: Tue, 26 Nov 2024 23:18:20 +0100 Subject: [PATCH] fix: element link selector dialog z-index & positioning (#8853) --- packages/excalidraw/components/ElementLinkDialog.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/excalidraw/components/ElementLinkDialog.scss b/packages/excalidraw/components/ElementLinkDialog.scss index bd99e8196..992323074 100644 --- a/packages/excalidraw/components/ElementLinkDialog.scss +++ b/packages/excalidraw/components/ElementLinkDialog.scss @@ -4,9 +4,9 @@ .ElementLinkDialog { position: absolute; top: var(--editor-container-padding); - left: calc(var(--editor-container-padding) * 4); + left: var(--editor-container-padding); - z-index: 3; + z-index: var(--zIndex-modal); border-radius: 10px; padding: 1.5rem;