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.

small nits

Sultan118d0f40c102
diff --git a/apps/designer/app/designer/features/style-panel/style-panel.tsx b/apps/designer/app/designer/features/style-panel/style-panel.tsx
index 4291348f6d..d8a4bfb79c 100644
--- a/apps/designer/app/designer/features/style-panel/style-panel.tsx
+++ b/apps/designer/app/designer/features/style-panel/style-panel.tsx
@@ -56,13 +56,11 @@ export const StylePanel = ({
return (
<>
- {
+ <Box css={{ overflow: "auto" }}>
<Box css={{ p: "$3 $3 $1 $3" }}>
<ComponentInfo selectedInstanceData={selectedInstanceData} />
</Box>
- }
- <Box css={{ overflow: "auto" }}>
- <Box css={{ p: "$3", paddingTop: "$2" }}>
+ <Box css={{ p: "$2 $3 $1 $3" }}>
<Search onSearch={setSearch} />
</Box>
<StyleSettings
diff --git a/apps/designer/app/designer/shared/inspector/collapsible-section.tsx b/apps/designer/app/designer/shared/inspector/collapsible-section.tsx
index 318992608e..58e473141d 100644
--- a/apps/designer/app/designer/shared/inspector/collapsible-section.tsx
+++ b/apps/designer/app/designer/shared/inspector/collapsible-section.tsx
@@ -64,7 +64,6 @@ export const CollapsibleSection = ({
>
{isOpenFinal ? <ChevronLeftIcon /> : <ChevronRightIcon />}
</Flex>
- {/* @todo: props panel shows double plus icon when rightSlot is set */}
{rightSlot}
</Flex>
</Collapsible.Trigger>