Skip to content

Commit

Permalink
changed style of savedsearches
Browse files Browse the repository at this point in the history
  • Loading branch information
qianxuege committed Jul 9, 2024
1 parent 4e3f62c commit c64328b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SavedSearches.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const SavedSearchBtn: React.FC<ButtonComponentProps> = ({ content, clickStay, te

return (
<button className={`rounded-full border border-teal px-4 py-1 flex items-center gap-1 ${textSize} ${
(clickStay && greenBg) ? "bg-teal text-white" : ""} `}>
(clickStay) ? "bg-teal text-white" : ""} `}>
<span onClick={handleMainClick}>{content}</span>
{displayx && <RxCross1 onClick={handleXClick} className={`h-4 w-3 ${greenBg? "text-gray-200" : ""} ml-3 mr-0.5`} />}
</button>
Expand Down

0 comments on commit c64328b

Please sign in to comment.