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
5 changes: 2 additions & 3 deletions app/components/TopBarPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { PAGE_SIZE } from '~/table/QueryTable'
import { Button } from '~/ui/lib/Button'
import { DropdownMenu } from '~/ui/lib/DropdownMenu'
import { Identicon } from '~/ui/lib/Identicon'
import { Truncate } from '~/ui/lib/Truncate'
import { Wrap } from '~/ui/util/wrap'
import { pb } from '~/util/path-builder'

Expand Down Expand Up @@ -118,8 +117,8 @@ const TopBarPicker = (props: TopBarPickerProps) => {
return (
<DropdownMenu.Item asChild key={label}>
<Link to={to} className={cn({ 'is-selected': isSelected })}>
<span className="flex w-full items-center justify-between">
<Truncate text={label} maxLength={24} />
<span className="flex w-full items-center gap-2">
{label}
{isSelected && <Success12Icon className="-mr-3 block" />}
</span>
</Link>
Expand Down