Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

style: make sidebar links size md

Brad Barbin31a603d030a9
diff --git a/apps/carbon/app/components/Layout/Navigation/ContentSidebar.tsx b/apps/carbon/app/components/Layout/Navigation/ContentSidebar.tsx
index 1dbd9c3d48..5de97403e7 100644
--- a/apps/carbon/app/components/Layout/Navigation/ContentSidebar.tsx
+++ b/apps/carbon/app/components/Layout/Navigation/ContentSidebar.tsx
@@ -13,7 +13,7 @@ const ContentSidebar = ({ links }: { links: Route[] }) => {
<CollapsibleSidebar>
<div className="overflow-y-auto h-full w-full pb-8">
<VStack>
- <VStack spacing={1} className="p-2">
+ <VStack spacing={0} className="p-2">
{links.map((route) => {
const isActive =
location.pathname.includes(route.to) && route.q === filter;
@@ -23,7 +23,6 @@ const ContentSidebar = ({ links }: { links: Route[] }) => {
asChild
leftIcon={route.icon}
variant={isActive ? "active" : "ghost"}
- size="sm"
className="w-full justify-start"
>
<Link
diff --git a/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx b/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx
index 8aeae83632..88d00f8080 100644
--- a/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx
+++ b/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx
@@ -23,9 +23,9 @@ const GroupedContentSidebar = ({
<VStack
key={group.name}
className="border-b border-border p-2"
- spacing={1}
+ spacing={0}
>
- <h4 className="text-xs text-muted-foreground font-mono pl-2 py-1 uppercase">
+ <h4 className="text-xs text-muted-foreground font-mono pl-4 py-1 uppercase">
{group.name}
</h4>
{group.routes.map((route) => {
@@ -38,7 +38,6 @@ const GroupedContentSidebar = ({
asChild
leftIcon={route.icon}
variant={isActive ? "active" : "ghost"}
- size="sm"
className={cn(
"w-full justify-start",
!isActive &&