From 526de7f98c99708b55f37e368804b3c6e911c622 Mon Sep 17 00:00:00 2001 From: Eugene Chybisov Date: Tue, 31 May 2022 16:34:23 +0200 Subject: [PATCH] fix: theme adjustments --- packages/widget/src/components/Input.tsx | 1 + .../components/SelectTokenButton/SelectTokenButton.style.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/widget/src/components/Input.tsx b/packages/widget/src/components/Input.tsx index 595254976..7150f41de 100644 --- a/packages/widget/src/components/Input.tsx +++ b/packages/widget/src/components/Input.tsx @@ -11,5 +11,6 @@ export const Input = styled(InputBase)(({ theme }) => ({ [`.${inputBaseClasses.input}`]: { padding: theme.spacing(1.5, 1, 1.5, 2), height: '2.875em', + boxSizing: 'inherit', }, })); diff --git a/packages/widget/src/components/SelectTokenButton/SelectTokenButton.style.tsx b/packages/widget/src/components/SelectTokenButton/SelectTokenButton.style.tsx index 06647d5ab..fdebbfe99 100644 --- a/packages/widget/src/components/SelectTokenButton/SelectTokenButton.style.tsx +++ b/packages/widget/src/components/SelectTokenButton/SelectTokenButton.style.tsx @@ -23,14 +23,14 @@ export const SelectTokenCardHeader = styled(CardHeader, { textOverflow: 'ellipsis', whiteSpace: 'nowrap', overflow: 'hidden', - width: compact ? 92 : 224, + width: compact ? 92 : 272, fontWeight: selected ? 500 : 400, }, [`.${cardHeaderClasses.subheader}`]: { textOverflow: 'ellipsis', whiteSpace: 'nowrap', overflow: 'hidden', - width: compact ? 92 : 224, + width: compact ? 92 : 272, }, }), );