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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: Fix content mode plus button z index (#5531)
Oleg Isonen96236bbb04aa
diff --git a/apps/builder/app/builder/builder.tsx b/apps/builder/app/builder/builder.tsxindex b36ae72e7c..bd0de7308b 100644--- a/apps/builder/app/builder/builder.tsx+++ b/apps/builder/app/builder/builder.tsx@@ -390,20 +390,6 @@ export const Builder = ({}}/><ProjectSettings />- <Main>- <Workspace>- {dataLoadingState === "loaded" && project && (- <CanvasIframe- ref={iframeRefCallback}- src={canvasUrl}- title={project.title}- />- )}- </Workspace>- </Main>- <Main css={{ pointerEvents: "none" }}>- <CanvasToolsContainer />- </Main><SidePanelgridArea="inspector"@@ -432,6 +418,22 @@ export const Builder = ({><SidebarLeft publish={publish} /></SidePanel>+ {/* Main must be after side panels because in content mode the Plus button must be above the left sidebar, otherwise it won't be visible when content is full width */}+ <Main>+ <Workspace>+ {dataLoadingState === "loaded" && project && (+ <CanvasIframe+ ref={iframeRefCallback}+ src={canvasUrl}+ title={project.title}+ />+ )}+ </Workspace>+ </Main>+ <Main css={{ pointerEvents: "none" }}>+ <CanvasToolsContainer />+ </Main>+{project ? (<Topbarproject={project}