Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct width issue caused by tooltip addition in SingleSelect #4058

Merged
Merged
Show file tree
Hide file tree
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
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
Loading