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.

experimental: Fix Video Animation Styles (#5156)

Ivan Starkov1a5c88b7e75b
diff --git a/packages/sdk-components-animation/src/video-animation.ws.ts b/packages/sdk-components-animation/src/video-animation.ws.ts
index 1ca790b118..1f2a94cf83 100644
--- a/packages/sdk-components-animation/src/video-animation.ws.ts
+++ b/packages/sdk-components-animation/src/video-animation.ws.ts
@@ -1,6 +1,7 @@
import { PlayIcon } from "@webstudio-is/icons/svg";
import type { WsComponentMeta, WsComponentPropsMeta } from "@webstudio-is/sdk";
import { props } from "./__generated__/video-animation.props";
+import { div } from "@webstudio-is/sdk/normalize.css";
export const meta: WsComponentMeta = {
icon: PlayIcon,
@@ -9,6 +10,9 @@ export const meta: WsComponentMeta = {
category: "none",
children: ["instance"],
},
+ presetStyle: {
+ div,
+ },
};
export const propsMeta: WsComponentPropsMeta = {