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.

only show separator when there are items before

Oleg Isonen16ddb217f60a
diff --git a/apps/designer/app/designer/shared/fonts-manager/fonts-manager.tsx b/apps/designer/app/designer/shared/fonts-manager/fonts-manager.tsx
index f749419545..b111566871 100644
--- a/apps/designer/app/designer/shared/fonts-manager/fonts-manager.tsx
+++ b/apps/designer/app/designer/shared/fonts-manager/fonts-manager.tsx
@@ -221,7 +221,7 @@ export const FontsManager = ({ value, onChange }: FontsManagerProps) => {
})}
{systemItems.length !== 0 && (
<>
- <Separator css={{ my: "$1" }} />
+ {uploadedItems.length !== 0 && <Separator css={{ my: "$1" }} />}
<ListItem state="disabled">{"System"}</ListItem>
</>
)}