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.

keep component info and search always in view in style panel

Oleg Isonenface54017dae
diff --git a/app/designer/features/inspector/inspector.tsx b/app/designer/features/inspector/inspector.tsx
index c5db304254..41a331dac6 100644
--- a/app/designer/features/inspector/inspector.tsx
+++ b/app/designer/features/inspector/inspector.tsx
@@ -18,7 +18,8 @@ type InspectorProps = {
};
const contentStyle = {
- height: "100%",
+ display: "flex",
+ flexDirection: "column",
overflow: "auto",
};
diff --git a/app/shared/design-system/components/tabs.tsx b/app/shared/design-system/components/tabs.tsx
index 8936b510ca..ebc47f62b7 100644
--- a/app/shared/design-system/components/tabs.tsx
+++ b/app/shared/design-system/components/tabs.tsx
@@ -86,4 +86,7 @@ export const TabsContent = styled(TabsPrimitive.Content, {
outline: "none",
boxShadow: "inset 0 0 0 1px $slate8, 0 0 0 1px $slate8",
},
+ '&[data-state="inactive"]': {
+ display: "none",
+ },
});