Skip to content

Commit be0f087

Browse files
authored
Remove truncation on topbar dropdown (#2329)
1 parent 17ae890 commit be0f087

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/components/TopBarPicker.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import { PAGE_SIZE } from '~/table/QueryTable'
2121
import { Button } from '~/ui/lib/Button'
2222
import { DropdownMenu } from '~/ui/lib/DropdownMenu'
2323
import { Identicon } from '~/ui/lib/Identicon'
24-
import { Truncate } from '~/ui/lib/Truncate'
2524
import { Wrap } from '~/ui/util/wrap'
2625
import { pb } from '~/util/path-builder'
2726

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

0 commit comments

Comments
 (0)