We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecbf0fb commit 8c5378bCopy full SHA for 8c5378b
web-marketplace/src/components/molecules/CreditsAmount/CurrencyInput.tsx
@@ -184,7 +184,8 @@ export const CurrencyInput = ({
184
sx={{
185
'& .MuiInputBase-root': {
186
border: 'none',
187
- paddingRight: theme => (card ? theme.spacing(5) : 0),
+ paddingRight: theme =>
188
+ card || cryptoCurrencies.length === 1 ? theme.spacing(5) : 0,
189
'& input': {
190
overflow: 'hidden',
191
textOverflow: 'ellipsis',
@@ -210,7 +211,7 @@ export const CurrencyInput = ({
210
211
},
212
}}
213
endAdornment={
- card ? (
214
+ card || cryptoCurrencies.length === 1 ? (
215
<DenomIconWithCurrency
216
baseDenom={currency?.askBaseDenom}
217
displayDenom={displayDenom}
0 commit comments