Skip to content

Commit abe2711

Browse files
istarkovkof
authored andcommitted
experimental: Fix Video Animation Styles (#5156)
## Description 1. What is this PR about (link the issue and add a short description) ## Steps for reproduction 1. click button 2. expect xyz ## Code Review - [ ] hi @kof, I need you to do - conceptual review (architecture, feature-correctness) - detailed review (read every line) - test it on preview ## Before requesting a review - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") ## Before merging - [ ] tested locally and on preview environment (preview dev login: 0000) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env` file
1 parent 0aac3da commit abe2711

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/sdk-components-animation/src/video-animation.ws.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { PlayIcon } from "@webstudio-is/icons/svg";
22
import type { WsComponentMeta, WsComponentPropsMeta } from "@webstudio-is/sdk";
33
import { props } from "./__generated__/video-animation.props";
4+
import { div } from "@webstudio-is/sdk/normalize.css";
45

56
export const meta: WsComponentMeta = {
67
icon: PlayIcon,
@@ -9,6 +10,9 @@ export const meta: WsComponentMeta = {
910
category: "none",
1011
children: ["instance"],
1112
},
13+
presetStyle: {
14+
div,
15+
},
1216
};
1317

1418
export const propsMeta: WsComponentPropsMeta = {

0 commit comments

Comments
 (0)