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.

make sure paragraphs look same way as brakes

Oleg Isonenb335b622f6aa
diff --git a/app/canvas/features/wrapper-component/use-css.tsx b/app/canvas/features/wrapper-component/use-css.tsx
index 70cdd674b3..8dab5565ed 100644
--- a/app/canvas/features/wrapper-component/use-css.tsx
+++ b/app/canvas/features/wrapper-component/use-css.tsx
@@ -55,6 +55,9 @@ const defaultStyle = {
// When double clicking into an element to edit text, it should not select the word.
userSelect: "none",
},
+ "& p": {
+ margin: 0,
+ },
[`&:not(${voidElements}):not(${rootElement}):empty`]: {
outline: "1px dashed #555",
outlineOffset: -1,