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.

feat: Add support for css-transforms in style panel (#4057)

Jaya Krishna Namburu29a76c3ed44c
diff --git a/apps/builder/app/builder/features/style-panel/sections/transforms/transforms.tsx b/apps/builder/app/builder/features/style-panel/sections/transforms/transforms.tsx
index e076ece897..b12bce9fc3 100644
--- a/apps/builder/app/builder/features/style-panel/sections/transforms/transforms.tsx
+++ b/apps/builder/app/builder/features/style-panel/sections/transforms/transforms.tsx
@@ -41,7 +41,6 @@ import { BackfaceVisibility } from "./transform-backface-visibility";
import { TransformPerspective } from "./transform-perspective";
import { humanizeString } from "~/shared/string-utils";
import { getDots } from "../../shared/collapsible-section";
-import { isFeatureEnabled } from "@webstudio-is/feature-flags";
import { TransformAndPerspectiveOrigin } from "./transform-and-perspective-origin";
import { PropertySectionLabel } from "../../property-label";
import { propertyDescriptions } from "@webstudio-is/css-data";
@@ -77,10 +76,6 @@ export const properties = [
export const Section = (props: SectionProps) => {
const [isOpen, setIsOpen] = useState(true);
- if (isFeatureEnabled("transforms") === false) {
- return;
- }
-
const { currentStyle } = props;
const isAnyTransformPropertyAdded = transformPanels.some((panel) =>
diff --git a/packages/feature-flags/src/flags.ts b/packages/feature-flags/src/flags.ts
index d72384dc2b..cadfe0dd43 100644
--- a/packages/feature-flags/src/flags.ts
+++ b/packages/feature-flags/src/flags.ts
@@ -7,5 +7,4 @@ export const cms = false;
export const cssVars = false;
export const filters = false;
export const xmlElement = false;
-export const transforms = false;
export const staticExport = false;