Skip to content
TypeScript

fix(web): hide build pill in narrow sidebars (#9159)

oliver2ab7973fe06e
diff --git a/apps/web/src/components/sidebar/SidebarChrome.tsx b/apps/web/src/components/sidebar/SidebarChrome.tsx
index 705216b9321..1e33ba4229a 100644
--- a/apps/web/src/components/sidebar/SidebarChrome.tsx
+++ b/apps/web/src/components/sidebar/SidebarChrome.tsx
@@ -67,7 +67,7 @@ export const SidebarChromeHeader = memo(function SidebarChromeHeader({
<SidebarBrand onBackdrop={backdropVariant !== null} />
{pillLabel ? (
<Badge
- className="relative z-10 ml-1 rounded-full px-1.5 text-muted-foreground"
+ className="relative z-10 ml-1 hidden rounded-full px-1.5 text-muted-foreground @[15rem]/sidebar-header:inline-flex"
data-environment-identification="pill"
size="sm"
variant="secondary"