Skip to content

Commit

Permalink
Span and Overflow added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauradip07 committed Aug 29, 2024
1 parent 7cb0220 commit cf2d7c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/frontend/components/sidebarHistory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ const SidebarHistory = (props: Props) => {
key={item.id}
className="flex justify-between mt-1 p-3 border-none rounded-lg font-semibold bg-slate-800 hover:bg-slate-800 cursor-pointer"
>
<div className="my-auto overflow-hidden">
<span className="my-auto truncate overflow-hidden whitespace-nowrap">
{truncateTitle(item.title)}
</div>
</span>

<button>
<DropdownMenu>
Expand All @@ -84,7 +84,7 @@ const SidebarHistory = (props: Props) => {
<Pin className="mr-2" /> Pin
</DropdownMenuCheckboxItem>
<DropdownMenuCheckboxItem>
<Pencil className="mr-2" />
<Pencil className="mr-2" />{' '}
Rename
</DropdownMenuCheckboxItem>
<DropdownMenuCheckboxItem>
Expand Down

0 comments on commit cf2d7c6

Please sign in to comment.