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' }}
/>
)
diff --git a/features/strategies/components/FormMarket.tsx b/features/strategies/components/FormMarket.tsx
index 715d452..9666ddf 100644
--- a/features/strategies/components/FormMarket.tsx
+++ b/features/strategies/components/FormMarket.tsx
@@ -2,6 +2,11 @@ import { Dispatch, SetStateAction } from 'react'
import { Select, FormInline } from '@/components'
import { type Market } from '@/features/strategies'
+const options = [
+ { value: 'market', label: 'All Markets' },
+ { value: 'uniswap-v3', label: 'Uniswap v3' }
+]
+
export function FormMarket({
market,
setMarket
@@ -9,17 +14,13 @@ export function FormMarket({
market: Market
setMarket: Dispatch>
}) {
- const options = [
- { value: 'market', label: 'All Markets' },
- { value: 'uniswap-v3', label: 'Uniswap v3' }
- ]
return (
)