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 left sidebar tablist border

Oleg Isonen77d55f2ae86d
diff --git a/apps/designer/app/designer/designer.tsx b/apps/designer/app/designer/designer.tsx
index 6cc1b10a1f..16ca0fb7ef 100644
--- a/apps/designer/app/designer/designer.tsx
+++ b/apps/designer/app/designer/designer.tsx
@@ -124,9 +124,6 @@ const SidePanel = ({
bc: theme.colors.loContrast,
height: "100%",
...css,
- "&:first-of-type": {
- borderRight: `1px solid ${theme.colors.borderMain}`,
- },
"&:last-of-type": {
borderLeft: `1px solid ${theme.colors.borderMain}`,
},
diff --git a/packages/design-system/src/components/sidebar-tabs.tsx b/packages/design-system/src/components/sidebar-tabs.tsx
index da12d75a05..0dec59ccc9 100644
--- a/packages/design-system/src/components/sidebar-tabs.tsx
+++ b/packages/design-system/src/components/sidebar-tabs.tsx
@@ -47,9 +47,8 @@ const StyledTabsList = styled(TabsPrimitive.List, {
flexDirection: "column",
alignItems: "center",
outline: "none",
- '&[data-state="active"]': {
- borderRight: `1px solid ${theme.colors.slate7}`,
- },
+ borderRight: `1px solid ${theme.colors.borderMain}`,
+ flexGrow: 1,
});
type TabsListPrimitiveProps = React.ComponentProps<typeof TabsPrimitive.List>;