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.

don't show focus ring on canvas in design mode?

Oleg Isonenf0eb6faa05ff
diff --git a/app/canvas/features/wrapper-component/use-css.tsx b/app/canvas/features/wrapper-component/use-css.tsx
index d88c7c205f..a61e5ce51b 100644
--- a/app/canvas/features/wrapper-component/use-css.tsx
+++ b/app/canvas/features/wrapper-component/use-css.tsx
@@ -56,7 +56,7 @@ const defaultStyle = {
paddingTop: "$8",
paddingRight: "$8",
},
- "&[contenteditable]": {
+ "&[contenteditable], &:focus": {
outline: 0,
},
};