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: Image Manager. Ensure picture click and delete functionality work consistently (#3514)
Ivan Starkovdc09616be043
diff --git a/apps/builder/app/builder/builder.css b/apps/builder/app/builder/builder.cssindex 58b4e3239c..e54f2470a2 100644--- a/apps/builder/app/builder/builder.css+++ b/apps/builder/app/builder/builder.css@@ -7,3 +7,13 @@ body {overscroll-behavior: contain;-webkit-font-smoothing: antialiased;}++[data-radix-scroll-area-viewport] {+ scrollbar-width: none;+ -ms-overflow-style: none;+ -webkit-overflow-scrolling: touch;+}++[data-radix-scroll-area-viewport]::-webkit-scrollbar {+ display: none;+}diff --git a/package.json b/package.jsonindex c3d3443a3c..0f9dda09d5 100644--- a/package.json+++ b/package.json@@ -82,7 +82,8 @@"patchedDependencies": {"@stitches/[email protected]": "patches/@[email protected]","[email protected]": "patches/[email protected]",- "@types/[email protected]": "patches/@[email protected]"+ "@types/[email protected]": "patches/@[email protected]",+ "@radix-ui/[email protected]": "patches/@[email protected]"}}}diff --git a/patches/@[email protected] b/patches/@[email protected]new file mode 100644index 0000000000..18e34d9ed9--- /dev/null+++ b/patches/@[email protected]@@ -0,0 +1,18 @@+diff --git a/dist/index.mjs b/dist/index.mjs+index 275085e7140d855f7b2c6df3eba959f49cb5837d..e8f6263e261ede55f7fc0d2b6162f0c975f7d696 100644+--- a/dist/index.mjs++++ b/dist/index.mjs+@@ -93,11 +93,8 @@ const $57acba87d6e25586$export$a21cbf9f11fca853 = /*#__PURE__*/ $fnFM9$forwardRe+ const context = $57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$VIEWPORT_NAME, __scopeScrollArea);+ const ref = $fnFM9$useRef(null);+ const composedRefs = $fnFM9$useComposedRefs(forwardedRef, ref, context.onViewportChange);+- return /*#__PURE__*/ $fnFM9$createElement($fnFM9$Fragment, null, /*#__PURE__*/ $fnFM9$createElement("style", {+- dangerouslySetInnerHTML: {+- __html: `[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}`+- }+- }), /*#__PURE__*/ $fnFM9$createElement($fnFM9$Primitive.div, $fnFM9$babelruntimehelpersesmextends({++ return /*#__PURE__*/ $fnFM9$createElement($fnFM9$Fragment, null++ , /*#__PURE__*/ $fnFM9$createElement($fnFM9$Primitive.div, $fnFM9$babelruntimehelpersesmextends({+ "data-radix-scroll-area-viewport": ""+ }, viewportProps, {+ ref: composedRefs,diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 8acd23b730..6791c4e7e8 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -12,6 +12,9 @@ overrides:react-dom: 18.3.0-canary-14898b6a9-20240318patchedDependencies:+ '@radix-ui/[email protected]':+ hash: 5y6bqj6dymxto7bikr5opyo7lm+ path: patches/@[email protected]'@stitches/[email protected]':hash: knml42mpr6mlzseo3d6gjljiq4path: patches/@[email protected]@@ -1226,7 +1229,7 @@ importers:version: 1.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-scroll-area':specifier: ^1.0.5- version: 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.0.5(patch_hash=5y6bqj6dymxto7bikr5opyo7lm)(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-select':specifier: ^2.0.0version: 2.0.0(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])@@ -12642,7 +12645,7 @@ snapshots:'@types/react': 18.2.79'@types/react-dom': 18.2.25- '@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](patch_hash=5y6bqj6dymxto7bikr5opyo7lm)(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@babel/runtime': 7.22.3'@radix-ui/number': 1.0.1