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.

refactor: drop display: contents (#4348)

Bogdan Chadkin65b32e8a406a
diff --git a/apps/builder/app/builder/features/style-panel/sections/layout/layout.tsx b/apps/builder/app/builder/features/style-panel/sections/layout/layout.tsx
index 3af7c0ca40..a431cebdc2 100644
--- a/apps/builder/app/builder/features/style-panel/sections/layout/layout.tsx
+++ b/apps/builder/app/builder/features/style-panel/sections/layout/layout.tsx
@@ -1,5 +1,4 @@
import { useState, type ReactNode } from "react";
-import { isFeatureEnabled } from "@webstudio-is/feature-flags";
import {
theme,
Box,
@@ -465,10 +464,6 @@ const orderedDisplayValues = [
"none",
];
-if (isFeatureEnabled("displayContents")) {
- orderedDisplayValues.push("contents");
-}
-
export const properties = [
"display",
"flexDirection",
diff --git a/packages/feature-flags/src/flags.ts b/packages/feature-flags/src/flags.ts
index 0b6ccfc40a..79dee0eccc 100644
--- a/packages/feature-flags/src/flags.ts
+++ b/packages/feature-flags/src/flags.ts
@@ -1,5 +1,4 @@
// Only for development, is not supposed to be enabled at all.
-export const displayContents = false;
export const internalComponents = false;
export const unsupportedBrowsers = false;
export const aiRadixComponents = false;