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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix components panel layout
Roman Pominov5abf9d558c62
diff --git a/apps/designer/app/designer/features/sidebar-left/lib/header.tsx b/apps/designer/app/designer/features/sidebar-left/lib/header.tsxindex ef19be5b9e..de10acfab4 100644--- a/apps/designer/app/designer/features/sidebar-left/lib/header.tsx+++ b/apps/designer/app/designer/features/sidebar-left/lib/header.tsx@@ -11,7 +11,7 @@ export const BaseHeader = ({ title, actions }: BaseHeaderProps) => {return (<><Flex- css={{ height: 40, paddingLeft: "$3" }}+ css={{ height: 40, paddingLeft: "$3", flexShrink: 0 }}align="center"justify="between">diff --git a/apps/designer/app/designer/features/sidebar-left/panels/components/components.tsx b/apps/designer/app/designer/features/sidebar-left/panels/components/components.tsxindex e273be4873..4da2564dec 100644--- a/apps/designer/app/designer/features/sidebar-left/panels/components/components.tsx+++ b/apps/designer/app/designer/features/sidebar-left/panels/components/components.tsx@@ -132,7 +132,7 @@ export const TabContent = ({ publish, onSetActiveTab }: TabContentProps) => {});return (- <>+ <Flex css={{ height: "100%", flexDirection: "column" }}><Headertitle="Add"onClose={() => {@@ -142,7 +142,7 @@ export const TabContent = ({ publish, onSetActiveTab }: TabContentProps) => {<Flexgap="1"wrap="wrap"- css={{ padding: "$1" }}+ css={{ padding: "$1", overflow: "auto" }}ref={useDragHandlers.rootRef}>{componentNames.map((component: Instance["component"]) => (@@ -160,7 +160,7 @@ export const TabContent = ({ publish, onSetActiveTab }: TabContentProps) => {))}{dragComponent && <DragLayer component={dragComponent} point={point} />}</Flex>- </>+ </Flex>);};diff --git a/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx b/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsxindex 6ac4f4c596..7be0e00aac 100644--- a/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx+++ b/apps/designer/app/designer/features/sidebar-left/sidebar-left.tsx@@ -77,9 +77,6 @@ export const SidebarLeft = ({ publish, config }: SidebarLeftProps) => {dragAndDropState.isDragging && dragAndDropState.origin === "panel"? "hidden": "visible",-- // @todo: is it ok to remove? (need to fix the "components" panel at min)- // overflow: "auto",}}><TabContent