diff --git a/components/Input/Input.module.css b/components/Input/Input.module.css index 06427d0..b4250c8 100644 --- a/components/Input/Input.module.css +++ b/components/Input/Input.module.css @@ -1,6 +1,6 @@ .input { all: unset; - padding: 0 0.75rem; + padding: 0 0.5rem; text-align: center; border-right: 1px solid rgba(var(--foreground-rgb), 0.15); } diff --git a/components/Select/Select.module.css b/components/Select/Select.module.css index 2e13981..10ff848 100644 --- a/components/Select/Select.module.css +++ b/components/Select/Select.module.css @@ -5,7 +5,7 @@ .select { display: inline-block; all: unset; - padding: 0 0.75rem; + padding: 0 0.5rem; } .select:hover:not(.select[disabled]) { diff --git a/features/strategies/components/FormAmount.tsx b/features/strategies/components/FormAmount.tsx index 3569c66..14dc583 100644 --- a/features/strategies/components/FormAmount.tsx +++ b/features/strategies/components/FormAmount.tsx @@ -46,9 +46,7 @@ export function FormAmount({ pattern="[0-9]*" value={amount} onChange={handleAmountChange} - style={{ - width: Math.min(Math.max(amount.toString().length, 2), 50) + 'ch' - }} + style={{ width: amount.toString().length + 'ch' }} /> setMarket(e.target.value as Market)} - style={{ paddingRight: '1.25rem' }} + style={{ paddingRight: '1.2rem' }} /> )