mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-14 05:24:04 +00:00
added text wrapping with ... when folder name too long (#960)
This commit is contained in:
parent
019459194d
commit
9a545ae20c
|
@ -56,9 +56,9 @@ export const Component = () => {
|
|||
<TopBarPortal
|
||||
left={
|
||||
<div className="group flex flex-row items-center space-x-2">
|
||||
<span>
|
||||
<span className="flex flex-row items-center">
|
||||
<Folder size={22} className="ml-3 mr-2 mt-[-1px] inline-block" />
|
||||
<span className="text-sm font-medium">
|
||||
<span className="overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium">
|
||||
{path ? getLastSectionOfPath(path) : location.data?.name}
|
||||
</span>
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue