Compare commits
2 Commits
e05e1e4f0f
...
1ca8551855
| Author | SHA1 | Date |
|---|---|---|
|
|
1ca8551855 | |
|
|
02ecd42039 |
|
|
@ -138,9 +138,9 @@ export const CouponModal: React.FC<CouponModalProps> = ({
|
||||||
value={data.discountValue}
|
value={data.discountValue}
|
||||||
onChange={(e) => onChange('discountValue', e.target.value)}
|
onChange={(e) => onChange('discountValue', e.target.value)}
|
||||||
placeholder="e.g. 20"
|
placeholder="e.g. 20"
|
||||||
className="w-full bg-white border border-slate-200 rounded-xl px-3 py-2 text-xs font-bold text-slate-800 focus:outline-none focus:border-indigo-500"
|
className="w-full bg-white border border-slate-200 rounded-xl pl-3 pr-7 py-2 text-xs font-bold text-slate-800 focus:outline-none focus:border-indigo-500 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none"
|
||||||
/>
|
/>
|
||||||
<span className="absolute right-3 top-2 text-xs font-bold text-slate-400">%</span>
|
<span className="absolute right-3 top-1/2 -translate-y-1/2 text-xs font-bold text-slate-400 pointer-events-none">%</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue