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: Fix handle layering order (#5536)

Oleg Isonenddfe189ab6c8
diff --git a/apps/builder/app/builder/builder.tsx b/apps/builder/app/builder/builder.tsx
index bd0de7308b..a6a47db2ab 100644
--- a/apps/builder/app/builder/builder.tsx
+++ b/apps/builder/app/builder/builder.tsx
@@ -391,25 +391,6 @@ export const Builder = ({
/>
<ProjectSettings />
- <SidePanel
- gridArea="inspector"
- isPreviewMode={isPreviewMode}
- css={{
- overflow: "hidden",
- // Drawing border this way to ensure content still has full width, avoid subpixels and give layout round numbers
- "&::after": {
- content: "''",
- position: "absolute",
- top: 0,
- left: 0,
- bottom: 0,
- width: 1,
- background: theme.colors.borderMain,
- },
- }}
- >
- <Inspector navigatorLayout={navigatorLayout} />
- </SidePanel>
<SidePanel
gridArea="sidebar"
css={{
@@ -418,7 +399,7 @@ 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 must be after left sidebar 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 && (
@@ -434,6 +415,25 @@ export const Builder = ({
<CanvasToolsContainer />
</Main>
+ <SidePanel
+ gridArea="inspector"
+ isPreviewMode={isPreviewMode}
+ css={{
+ overflow: "hidden",
+ // Drawing border this way to ensure content still has full width, avoid subpixels and give layout round numbers
+ "&::after": {
+ content: "''",
+ position: "absolute",
+ top: 0,
+ left: 0,
+ bottom: 0,
+ width: 1,
+ background: theme.colors.borderMain,
+ },
+ }}
+ >
+ <Inspector navigatorLayout={navigatorLayout} />
+ </SidePanel>
{project ? (
<Topbar
project={project}