diff --git a/apps/builder/app/builder/features/style-panel/sections/advanced/advanced.tsx b/apps/builder/app/builder/features/style-panel/sections/advanced/advanced.tsx index 71ecfdfe67..7a835888b7 100644 --- a/apps/builder/app/builder/features/style-panel/sections/advanced/advanced.tsx +++ b/apps/builder/app/builder/features/style-panel/sections/advanced/advanced.tsx @@ -39,10 +39,7 @@ import { } from "~/shared/nano-states"; import { $styles } from "~/shared/sync/data-stores"; import { useReadonly } from "../../shared/readonly"; -import { - InlineMixedStyleBlockEditor, - MixedStyleBlockDialog, -} from "./style-block-dialog"; +import { StyleBlockEditor } from "./style-block-editor"; import type { ApplyChanges } from "~/builder/shared/css-editor/style-block-parse"; import { $settings, setSetting } from "~/builder/shared/client-settings"; import type { ComputedStyleDecl } from "~/shared/style-object-model"; @@ -253,8 +250,9 @@ export const Section = () => { } > {selectedInstanceKey !== undefined && ( - { )} {selectedInstanceKey !== undefined && ( - ["declarations"] = [ { property: "opacity", value: { type: "unit", unit: "number", value: 0.8 } }, ]; @@ -50,7 +47,8 @@ export const InlineCode = () => ( background: cssVar("--background-primary"), }} > - ( ); export const CenteredCode = () => ( - ( export const EditableCode = () => { const [declarations, setDeclarations] = useState< - ComponentProps["declarations"] + ComponentProps["declarations"] >([]); return ( -