Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions frontend/components/layout/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,19 @@ const Sidebar = () => {
</span>
</div>
) : (
<div className="flex flex-col gap-0.5 min-w-0 items-start">
<div className="flex min-w-0 flex-1 flex-col items-start gap-0.5 overflow-hidden">
<div>
<PlanLabel plan={activeOrganisation?.plan!} />
</div>
<span className="truncate font-semibold tracking-wider text-base">
<span className="block w-full truncate font-semibold tracking-wider text-base">
{activeOrganisation?.name}
</span>
</div>
)}
{showOrgsMenu && !collapsed && (
<FaChevronDown
className={clsx(
'text-neutral-500 opacity-0 group-hover:opacity-100 transition transform ease',
'shrink-0 text-neutral-500 opacity-0 group-hover:opacity-100 transition transform ease',
open ? 'rotate-180' : 'rotate-0'
)}
/>
Expand Down Expand Up @@ -192,11 +192,11 @@ const Sidebar = () => {
: 'text-zinc-700 dark:text-zinc-300 dark:hover:text-emerald-500'
} group flex w-full gap-2 items-center justify-between px-2 py-2 border-b border-neutral-500/20`}
>
<div className="flex flex-col gap-0.5 min-w-0 flex-grow">
<div className="flex min-w-0 flex-1 flex-col gap-0.5 overflow-hidden">
<div>
<PlanLabel plan={org?.plan!} />
</div>
<span className="truncate text-left font-medium text-sm">
<span className="block w-full truncate text-left font-medium text-sm">
{org.name}
</span>
</div>
Expand Down
Loading