Skip to content

Commit 3e18944

Browse files
fix: add spacing for no position
this makes the page consistent with the lend markets in #1736
1 parent 38aa995 commit 3e18944

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

apps/main/src/loan/components/PageMintMarket/MintMarketPage.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,13 @@ export const MintMarketPage = () => {
114114
</AppPageFormsWrapper>
115115
<Stack flexDirection="column" flexGrow={1} sx={{ gap: Spacing.md }}>
116116
<Stack sx={{ backgroundColor: (t) => t.design.Layer[1].Fill }}>
117-
{loanExists ? <BorrowPositionDetails {...positionDetails} /> : <NoPosition type="borrow" />}
117+
{loanExists ? (
118+
<BorrowPositionDetails {...positionDetails} />
119+
) : (
120+
<Stack padding={Spacing.md} sx={{ backgroundColor: (t) => t.design.Layer[1].Fill }}>
121+
<NoPosition type="borrow" />
122+
</Stack>
123+
)}
118124
{userCollateralEvents?.events && userCollateralEvents.events.length > 0 && (
119125
<Stack
120126
paddingLeft={Spacing.md}

0 commit comments

Comments
 (0)