Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix stacking context

Oleg Isonen4ea13cee8d8c
diff --git a/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx b/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx
index abc70be177..8565e85077 100644
--- a/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx
+++ b/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx
@@ -67,6 +67,7 @@ export const SidebarLeft = ({ publish, assets }: SidebarLeftProps) => {
<SidebarTabsContent
value={activeTab === "none" ? "" : activeTab}
css={{
+ zIndex: "$1",
width: PANEL_WIDTH,
// We need the node to be rendered but hidden
// to keep receiving the drag events.
diff --git a/apps/designer/app/designer/features/topbar/menu/menu.tsx b/apps/designer/app/designer/features/topbar/menu/menu.tsx
index d456789cb7..32d6c71884 100644
--- a/apps/designer/app/designer/features/topbar/menu/menu.tsx
+++ b/apps/designer/app/designer/features/topbar/menu/menu.tsx
@@ -131,7 +131,7 @@ export const Menu = ({ config, publish }: MenuProps) => {
</Box>
</DropdownMenuTrigger>
<DropdownMenuPortal>
- <DropdownMenuContent>
+ <DropdownMenuContent css={{ zIndex: "$1" }}>
<DropdownMenuItem
css={menuItemCss}
onSelect={() => {