Skip to content

Commit

Permalink
fix: correct width issue caused by tooltip addition in SingleSelect (#…
Browse files Browse the repository at this point in the history
…4058)

Co-authored-by: John McBride <jpmmcbride@gmail.com>
Co-authored-by: Nick Taylor <nick@nickyt.co>
  • Loading branch information
3 people authored Aug 28, 2024
1 parent 48343e0 commit b6e1173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/atoms/Select/single-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const SingleSelect = ({
)}
>
<Tooltip content={current?.label ?? placeholder}>
<div className="flex items-center w-fit max-w-48">
<div className="flex items-center w-44 ">
<p className="flex-grow text-start truncate">{current?.label ?? placeholder}</p>
</div>
</Tooltip>
Expand Down
2 changes: 1 addition & 1 deletion components/shared/AppSidebar/AppSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export const AppSideBar = ({ workspaceId, hideSidebar, sidebarCollapsed }: AppSi
<DropdownMenuTrigger title="Select type of new insight">
<PlusIcon
style={{ strokeWidth: "3px" }}
className="w-5 h-5 p-0.5 text-semibold group-hover:bg-orange-100 rounded-md"
className="w-5 text-gray-500 h-5 p-0.5 text-semibold group-hover:bg-orange-100 rounded-md"
/>
</DropdownMenuTrigger>
<DropdownMenuContent
Expand Down

0 comments on commit b6e1173

Please sign in to comment.