Skip to content

Commit

Permalink
fix: Truncate long system names
Browse files Browse the repository at this point in the history
  • Loading branch information
adityachoudhari26 committed Oct 22, 2024
1 parent 3fdcc8e commit 9c133d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/webservice/src/app/[workspaceSlug]/SidebarSystems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const SystemCollapsible: React.FC<{ system: System }> = ({ system }) => {
className="space-y-1 text-sm"
>
<CollapsibleTrigger className="flex w-full items-center gap-2 rounded-md px-2 py-1 hover:bg-neutral-800/50">
{system.name}
<span className="truncate">{system.name}</span>
<IconChevronRight
className={cn(
"h-3 w-3 text-muted-foreground transition-all",
Expand Down

0 comments on commit 9c133d9

Please sign in to comment.