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

This commit is contained in:
sp.wack 2024-10-22 23:31:42 +04:00 committed by GitHub
parent 64adb64fef
commit dd15845b91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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} />}