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.

enable scrolling the worspace

Oleg Isonen9ae2bcecb4cf
diff --git a/app/designer/designer.css b/app/designer/designer.css
index 778f302cf4..d3f1ac9457 100644
--- a/app/designer/designer.css
+++ b/app/designer/designer.css
@@ -1,6 +1,7 @@
body {
margin: 0;
overflow: hidden;
+ overscroll-behavior: contain;
font-family: var(--fonts-sans);
font-size: var(--fontSizes-1);
}
diff --git a/app/designer/designer.tsx b/app/designer/designer.tsx
index d413b46d4a..3db30e67c6 100644
--- a/app/designer/designer.tsx
+++ b/app/designer/designer.tsx
@@ -131,14 +131,14 @@ const Workspace = ({ children }: { children: JSX.Element }) => {
css={{
flexGrow: 1,
background: "$gray8",
- overflow: "hidden",
+ overflow: "auto",
+ scrollbarGutter: "stable",
}}
>
<Flex
direction="column"
align="center"
css={{
- overscrollBehavior: "contain",
transformStyle: "preserve-3d",
transition: "transform 50ms",
height: "100%",