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.

use ds

Oleg Isonene8714581f36a
diff --git a/app/canvas/features/wrapper-component/text-editor/example-text-editor.tsx b/app/canvas/features/wrapper-component/text-editor/example-text-editor.tsx
index e14d123ece..bacd6b430a 100644
--- a/app/canvas/features/wrapper-component/text-editor/example-text-editor.tsx
+++ b/app/canvas/features/wrapper-component/text-editor/example-text-editor.tsx
@@ -20,9 +20,9 @@ const Menu = () => {
return (
<Box
css={{
- margin: 10,
+ margin: "$2",
display: "flex",
- gap: 10,
+ gap: "$2",
}}
>
<Button
@@ -91,8 +91,8 @@ export const ExampleTextEditor = ({ onChange }: ExampleTextEditorProps) => {
lineHeight: 1.5,
fontWeight: 400,
textAlign: "left",
- borderTopLeftRadius: 10,
- borderTopRightRadius: 10,
+ borderTopLeftRadius: "$3",
+ borderTopRightRadius: "$3",
overflow: "hidden",
"& p": {
margin: 0,