Skip to content

Commit

Permalink
style: align dollar sign in small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
r41ph committed Oct 22, 2024
1 parent 082e8aa commit 691bcd5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ export const CurrencyInput = ({
return (
<div className="grow sm:flex-1 w-full sm:w-auto relative">
{paymentOption === PAYMENT_OPTIONS.CARD && (
<span className="absolute top-[18px] left-10 z-50">$</span>
<span className="text-sm absolute top-[13px] sm:top-[18px] left-10 z-50">
$
</span>
)}
<TextField
{...register(CURRENCY_AMOUNT)}
Expand Down

0 comments on commit 691bcd5

Please sign in to comment.