File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed
packages/ui/src/components/widgets/TokenWidget Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -262,8 +262,7 @@ const BuyTabContent: FC<BuyTabContentProps> = ({
262262 < TabsContent value = "buy" >
263263 < SectionContainer
264264 css = { {
265- backgroundColor : 'widget-background' ,
266- mb : 'widget-card-section-gutter'
265+ backgroundColor : 'widget-background'
267266 } }
268267 id = { 'buy-token-section' }
269268 >
@@ -274,11 +273,7 @@ const BuyTabContent: FC<BuyTabContentProps> = ({
274273 onSlippageToleranceChange = { onSlippageToleranceChange }
275274 onAnalyticEvent = { onAnalyticEvent }
276275 />
277- < Flex
278- align = "center"
279- justify = "between"
280- css = { { gap : '4' , width : '100%' } }
281- >
276+ < Flex align = "center" justify = "between" css = { { width : '100%' } } >
282277 < AmountInput
283278 prefixSymbol = { isUsdInputMode ? '$' : undefined }
284279 value = {
@@ -315,6 +310,8 @@ const BuyTabContent: FC<BuyTabContentProps> = ({
315310 css = { {
316311 fontWeight : '700' ,
317312 fontSize : 32 ,
313+ lineHeight : '32px' ,
314+ py : 0 ,
318315 color :
319316 isFetchingQuote && tradeType === 'EXACT_INPUT'
320317 ? 'text-subtle'
Original file line number Diff line number Diff line change @@ -339,11 +339,7 @@ const SellTabContent: FC<SellTabContentProps> = ({
339339 onSlippageToleranceChange = { onSlippageToleranceChange }
340340 onAnalyticEvent = { onAnalyticEvent }
341341 />
342- < Flex
343- align = "center"
344- justify = "between"
345- css = { { gap : '2' , width : '100%' } }
346- >
342+ < Flex align = "center" justify = "between" css = { { width : '100%' } } >
347343 < AmountInput
348344 autoFocus = { ! disableInputAutoFocus }
349345 prefixSymbol = { isUsdInputMode ? '$' : undefined }
@@ -381,7 +377,7 @@ const SellTabContent: FC<SellTabContentProps> = ({
381377 css = { {
382378 fontWeight : '700' ,
383379 fontSize : 32 ,
384- lineHeight : '36px ' ,
380+ lineHeight : '32px ' ,
385381 py : 0 ,
386382 color :
387383 isFetchingQuote && tradeType === 'EXPECTED_OUTPUT'
You can’t perform that action at this time.
0 commit comments