Skip to content

Commit 5240486

Browse files
fix(dapp): reduce gap in the auction card (#1067)
* fix: reduce gap in the auction card * fix: style --------- Co-authored-by: Marc Espin <mespinsanz@gmail.com>
1 parent e5c3954 commit 5240486

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

dapp/src/auctions/components/AuctionPublicItem.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
import { Clock, IotaLogoSmall, Loader } from '@iota/apps-ui-icons';
5-
import { Button, ButtonType, Card, CardType, Divider, DividerType } from '@iota/apps-ui-kit';
5+
import { Button, ButtonType, Card, CardType } from '@iota/apps-ui-kit';
66
import { useCurrentAccount, useIotaClientContext } from '@iota/dapp-kit';
77
import { normalizeIotaName } from '@iota/iota-names-sdk';
88
import { MouseEvent, useMemo } from 'react';
@@ -127,9 +127,6 @@ export function AuctionPublicItem({ auction, onBidClick }: AuctionPublicItemProp
127127
) : (
128128
<ClaimedAuctionBody auction={auction} />
129129
)}
130-
<div className="my-4">
131-
<Divider type={DividerType.Horizontal} />
132-
</div>
133130
<AuctionTimeRemaining auction={auction} />
134131
</NameCardBody>
135132
</NameCard>

dapp/src/components/name-card/NameCardBody.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function NameCardBody({
2020
{name}
2121
</h4>
2222

23-
<div className="flex flex-col gap-y-md">{children}</div>
23+
<div className="flex flex-col gap-y-xs">{children}</div>
2424
</div>
2525
);
2626
}

0 commit comments

Comments
 (0)