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.

fix: hide chevron consistently when there are no items in the style panel section (#4524)

Oleg Isonenb47f179d5825
diff --git a/apps/builder/app/builder/features/style-panel/shared/style-section.tsx b/apps/builder/app/builder/features/style-panel/shared/style-section.tsx
index 7670e11b92..925c07e1ed 100644
--- a/apps/builder/app/builder/features/style-panel/shared/style-section.tsx
+++ b/apps/builder/app/builder/features/style-panel/shared/style-section.tsx
@@ -85,7 +85,7 @@ export const RepeatedStyleSection = (props: {
trigger={
<SectionTitle
inactive={dots.length === 0}
- collapsible={collapsible}
+ collapsible={collapsible ?? dots.length !== 0}
dots={getDots(styles)}
suffix={
<SectionTitleButton