Skip to content

Commit 794c7ac

Browse files
fix(perps): tighten progress status row spacing above TitleHub
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 30034bb commit 794c7ac

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

app/components/UI/Perps/components/PerpsMarketBalanceActions/PerpsMarketBalanceActions.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -220,19 +220,18 @@ const PerpsMarketBalanceActions: React.FC<PerpsMarketBalanceActionsProps> = ({
220220
testID={PerpsMarketBalanceActionsSelectorsIDs.CONTAINER}
221221
twClassName={isBalanceEmpty ? 'mb-4 rounded-xl' : undefined}
222222
>
223-
<Box twClassName="px-4">
224-
<PerpsProgressBar
225-
progressAmount={INITIAL_AMOUNT_UI_PROGRESS}
226-
height={4}
227-
onTransactionAmountChange={setTransactionAmountWei}
228-
/>
229-
</Box>
223+
<PerpsProgressBar
224+
progressAmount={INITIAL_AMOUNT_UI_PROGRESS}
225+
height={4}
226+
onTransactionAmountChange={setTransactionAmountWei}
227+
/>
230228
{isAnyTransactionInProgress && (
231229
<>
232230
<Box twClassName="px-4">
233231
<KeyValueRow
234232
variant={KeyValueRowVariant.Summary}
235233
keyLabel={statusText}
234+
twClassName="mt-3 h-6"
236235
value={
237236
shouldShowDollarAmount && transactionAmountDisplay ? (
238237
<SensitiveText
@@ -247,7 +246,7 @@ const PerpsMarketBalanceActions: React.FC<PerpsMarketBalanceActionsProps> = ({
247246
}
248247
/>
249248
</Box>
250-
<SectionDivider />
249+
<SectionDivider marginVertical={3} />
251250
</>
252251
)}
253252
{children}

0 commit comments

Comments
 (0)