From f7f9346a4a339f81edbc010aa0bf9c49b81e9400 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 30 Mar 2024 19:53:39 +0000 Subject: [PATCH] padding --- components/FormAmount/Inputs/InputToken.module.css | 1 - components/FormAmount/Inputs/InputToken.tsx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/components/FormAmount/Inputs/InputToken.module.css b/components/FormAmount/Inputs/InputToken.module.css index d0265f9..5a25a3f 100644 --- a/components/FormAmount/Inputs/InputToken.module.css +++ b/components/FormAmount/Inputs/InputToken.module.css @@ -2,7 +2,6 @@ display: inline-block; all: unset; padding: 0 0.75rem; - padding-right: 1.25rem; } .selectWrapper { diff --git a/components/FormAmount/Inputs/InputToken.tsx b/components/FormAmount/Inputs/InputToken.tsx index 8d51d82..146e80c 100644 --- a/components/FormAmount/Inputs/InputToken.tsx +++ b/components/FormAmount/Inputs/InputToken.tsx @@ -19,6 +19,7 @@ export function InputToken({ onChange={(e) => (setToken ? setToken(e.target.value as Token) : null)} value={token} disabled={!setToken} + style={setToken ? { paddingRight: '1.25rem' } : {}} > {isFiat ? (