Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 74a24ed

Browse files
authored
fix: retain Toolbar min-height (#261)
1 parent 844dd83 commit 74a24ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/Swap/Toolbar/Caption.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function Error() {
6666
return <Caption caption={<Trans>Error fetching trade</Trans>} />
6767
}
6868

69-
export function Empty() {
69+
export function MissingInputs() {
7070
return <Caption icon={Info} caption={<Trans>Enter an amount</Trans>} />
7171
}
7272

src/components/Swap/Toolbar/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const ToolbarRow = styled(Row)`
1313
background-color: ${({ theme }) => theme.module};
1414
border-bottom-left-radius: ${({ theme }) => theme.borderRadius - 0.25}em;
1515
border-bottom-right-radius: ${({ theme }) => theme.borderRadius - 0.25}em;
16+
min-height: 44px;
1617
padding: 14px 16px;
1718
`
1819

@@ -68,7 +69,7 @@ export default memo(function Toolbar() {
6869
}
6970
}
7071

71-
return <Caption.Empty />
72+
return <Caption.MissingInputs />
7273
}, [
7374
error,
7475
state,

0 commit comments

Comments
 (0)