Skip to content

πŸ™Œ OpenHands: AI-Driven Development

[ALL-570] fix(frontend): Don't wrap filenames in the file explorer (#4521)

sp.wackdd15845b911f
diff --git a/frontend/src/components/file-explorer/TreeNode.tsx b/frontend/src/components/file-explorer/TreeNode.tsx
index b8b4890133..fd44cd88cd 100644
--- a/frontend/src/components/file-explorer/TreeNode.tsx
+++ b/frontend/src/components/file-explorer/TreeNode.tsx
@@ -19,7 +19,7 @@ function Title({ name, type, isOpen, onClick }: TitleProps) {
return (
<div
onClick={onClick}
- className="cursor-pointer rounded-[5px] p-1 nowrap flex items-center gap-2 aria-selected:bg-neutral-600 aria-selected:text-white hover:text-white"
+ className="cursor-pointer text-nowrap rounded-[5px] p-1 nowrap flex items-center gap-2 aria-selected:bg-neutral-600 aria-selected:text-white hover:text-white"
>
<div className="flex-shrink-0">
{type === "folder" && <FolderIcon isOpen={isOpen} />}