Skip to content

Commit

Permalink
fix: sorted out single select label
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed Oct 31, 2024
1 parent c4f0ae0 commit c511e7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/atoms/Select/single-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ const SingleSelect = ({
)}
>
<span className="sr-only">{labelText}</span>
<Tooltip content={current?.label ?? placeholder}>
<div className="flex items-center w-44 ">
<Tooltip content={current?.label ?? placeholder} aria-hidden="true">
<div className="flex items-center w-44" aria-hidden="true">
<p className="flex-grow text-start truncate">{current?.label ?? placeholder}</p>
</div>
</Tooltip>
Expand Down

0 comments on commit c511e7f

Please sign in to comment.