Skip to content

Commit 65b32e8

Browse files
authored
refactor: drop display: contents (#4348)
We have advanced panel which allows to set any value. No need to have display: contents behind the flag anymore.
1 parent f48bfa4 commit 65b32e8

File tree

2 files changed

+0
-6
lines changed
  • apps/builder/app/builder/features/style-panel/sections/layout
  • packages/feature-flags/src

2 files changed

+0
-6
lines changed

apps/builder/app/builder/features/style-panel/sections/layout/layout.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useState, type ReactNode } from "react";
2-
import { isFeatureEnabled } from "@webstudio-is/feature-flags";
32
import {
43
theme,
54
Box,
@@ -465,10 +464,6 @@ const orderedDisplayValues = [
465464
"none",
466465
];
467466

468-
if (isFeatureEnabled("displayContents")) {
469-
orderedDisplayValues.push("contents");
470-
}
471-
472467
export const properties = [
473468
"display",
474469
"flexDirection",

packages/feature-flags/src/flags.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Only for development, is not supposed to be enabled at all.
2-
export const displayContents = false;
32
export const internalComponents = false;
43
export const unsupportedBrowsers = false;
54
export const aiRadixComponents = false;

0 commit comments

Comments
 (0)