Skip to content

Commit f7bc61d

Browse files
authored
🤖 fix: add ellipsis truncation to long project names (#1022)
_Generated with `mux`_ Long project names in the sidebar were being cut off abruptly. Added `truncate` class to the project name span so they show ellipsis like workspace names do.
1 parent acbde84 commit f7bc61d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/components/ProjectSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ const ProjectSidebarInner: React.FC<ProjectSidebarProps> = ({
521521
const abbrevPath = PlatformPaths.abbreviate(projectPath);
522522
const { basename } = PlatformPaths.splitAbbreviated(abbrevPath);
523523
return (
524-
<span className="text-foreground font-medium">
524+
<span className="text-foreground truncate font-medium">
525525
{basename}
526526
</span>
527527
);

0 commit comments

Comments
 (0)