Skip to content

Commit

Permalink
Merge pull request #27 from codev/ui-add-tooltip
Browse files Browse the repository at this point in the history
Add a tooltip to 'Sort by highest chance of winning' selector
  • Loading branch information
LMacPhail authored Jun 11, 2024
2 parents d82faef + d039328 commit 0a015ea
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/components/filters/Filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,11 @@ export const SortByDropdown: React.FC = () => {

return (
<div>
<span className="text-xs">
<span className="text-xs tooltip" data-tip="See FAQ on about page">
Sort by chance of winning:{" "}
<span
className="tooltip-click tooltip-right z-40"
data-tooltip="See FAQ"
>
<button aria-label="See FAQ">
<button>
<Question size={12} />
</button>
</span>
</span>
<select
className="select select-bordered w-full select-sm capitalize"
Expand Down

0 comments on commit 0a015ea

Please sign in to comment.