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.

Set a meaningful default maxHeight (#1160)

Oleg Isonen4060e2f053df
diff --git a/packages/design-system/src/components/floating-panel-popover.tsx b/packages/design-system/src/components/floating-panel-popover.tsx
index 684c7a1e4f..dd13e7c27a 100644
--- a/packages/design-system/src/components/floating-panel-popover.tsx
+++ b/packages/design-system/src/components/floating-panel-popover.tsx
@@ -9,6 +9,7 @@ export const FloatingPanelPopover = Primitive.Root;
const contentStyles = css(floatingPanelStyles, {
minWidth: theme.spacing[28],
maxWidth: "max-content",
+ maxHeight: "80vh",
});
export const FloatingPanelPopoverContent = React.forwardRef(