Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

Adjust zIndex in ActionMenu component for improved layering (#283)

Hakan Shehu33a6110e247c
diff --git a/packages/ui/src/editor/menus/action-menu.tsx b/packages/ui/src/editor/menus/action-menu.tsx
index 821c4e78..b0a4f5a6 100644
--- a/packages/ui/src/editor/menus/action-menu.tsx
+++ b/packages/ui/src/editor/menus/action-menu.tsx
@@ -150,7 +150,7 @@ export const ActionMenu = ({ editor }: ActionMenuProps) => {
<FloatingPortal>
<div
ref={refs.setFloating}
- style={{ ...floatingStyles, zIndex: 60 }}
+ style={{ ...floatingStyles, zIndex: 50 }}
className="flex items-center text-muted-foreground p-1 mr-2"
>
<Plus