File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
apps/builder/app/builder/features/settings-panel/props-section/animation Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
15
15
CssValueInput ,
16
16
type IntermediateStyleValue ,
17
17
} from "~/builder/features/style-panel/shared/css-value-input" ;
18
+ import { toKebabCase } from "~/builder/features/style-panel/shared/keyword-utils" ;
18
19
import { CodeEditor } from "~/builder/shared/code-editor" ;
19
20
import { useIds } from "~/shared/form-utils" ;
20
21
@@ -116,7 +117,7 @@ const Keyframe = ({
116
117
const cssProperties = useMemo ( ( ) => {
117
118
let result = `` ;
118
119
for ( const [ property , style ] of Object . entries ( value . styles ) ) {
119
- result = `${ result } ${ property } : ${ toValue ( style ) } ;\n` ;
120
+ result = `${ result } ${ toKebabCase ( property ) } : ${ toValue ( style ) } ;\n` ;
120
121
}
121
122
return result ;
122
123
} , [ value . styles ] ) ;
You can’t perform that action at this time.
0 commit comments