Skip to content

Commit

Permalink
style: update $ position on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
r41ph committed Oct 22, 2024
1 parent 691bcd5 commit 649ab37
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const CurrencyInput = ({
return (
<div className="grow sm:flex-1 w-full sm:w-auto relative">
{paymentOption === PAYMENT_OPTIONS.CARD && (
<span className="text-sm absolute top-[13px] sm:top-[18px] left-10 z-50">
<span className="text-xs sm:text-sm absolute top-[13px] left-[9px] sm:top-[18px] sm:left-10 z-50">
$
</span>
)}
Expand All @@ -87,7 +87,7 @@ export const CurrencyInput = ({
type="number"
className={`border border-solid border-grey-300 focus-within:border-grey-500 focus-within:border-2 ${
paymentOption === PAYMENT_OPTIONS.CARD ? 'pl-5' : ''
} w-full sm:w-auto flex justify-start relative sm:h-60 rounded-sm items-center`}
} w-full sm:w-auto flex justify-start relative xs:h-60 rounded-sm items-center`}
customInputProps={{
max: maxCurrencyAmount,
min: 0,
Expand Down

0 comments on commit 649ab37

Please sign in to comment.