Skip to content

Commit

Permalink
enhancement: add transparent color for mobile when vote input is focused
Browse files Browse the repository at this point in the history
  • Loading branch information
nakedfool committed Sep 12, 2024
1 parent ed080d8 commit 2314af3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-app-revamp/components/Voting/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const VotingWidget: FC<VotingWidgetProps> = ({
max={amountOfVotes}
onKeyDown={handleKeyDownInput}
onInput={handleInput}
className="w-full text-center text-[32px] bg-transparent outline-none placeholder-neutral-9"
className="w-full text-center text-[32px] bg-transparent outline-none placeholder-neutral-9 focus:placeholder-transparent md:focus:placeholder-neutral-9"
/>
<span className="absolute right-4 text-neutral-9 text-[16px] font-bold">
vote{amount !== 1 ? "s" : ""}
Expand Down

0 comments on commit 2314af3

Please sign in to comment.