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.

fix: Fix CSS fragment editor dialog title (#4642)

Oleg Isonen7d7c92a3b40f
diff --git a/apps/builder/app/builder/features/style-panel/shared/css-fragment.tsx b/apps/builder/app/builder/features/style-panel/shared/css-fragment.tsx
index f60c11ccb6..a0356ed4a7 100644
--- a/apps/builder/app/builder/features/style-panel/shared/css-fragment.tsx
+++ b/apps/builder/app/builder/features/style-panel/shared/css-fragment.tsx
@@ -98,11 +98,9 @@ export const CssFragmentEditorContent = ({
};
export const CssFragmentEditor = ({
- title,
content,
onOpenChange,
}: {
- title?: ReactNode;
content: ReactNode;
onOpenChange?: (newOpen: boolean) => void;
}) => {
@@ -112,7 +110,7 @@ export const CssFragmentEditor = ({
{content}
<EditorDialog
onOpenChange={onOpenChange}
- title={title}
+ title="CSS Value"
content={content}
>
<EditorDialogButton />