Skip to content

Commit

Permalink
[ui] change edition drop styling
Browse files Browse the repository at this point in the history
- Move the price to the left and make font size consistent with the regular drop.
- Remove MINT PRICE.
  • Loading branch information
Kai authored and RustySol committed Oct 24, 2022
1 parent c6026e3 commit d6cb21d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
5 changes: 2 additions & 3 deletions core/ui/src/components/Drop/List/DropFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ export const DropFooter: React.FC<DropFooterProps> = ({ candyShop, nft }: DropFo
return (
<div className="candy-edition-list-footer-card">
<div className="row">
<div className="name">{nft.nftName}</div>
<div className="candy-edition-price">
<span>MINT PRICE</span>
<div className="candy-edition-name-price">
<div className="name">{nft.nftName}</div>
<span className="candy-price">
<Price candyShop={candyShop} value={nft.price} />
</span>
Expand Down
10 changes: 7 additions & 3 deletions core/ui/src/components/Drop/List/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,14 @@
.candy-edition-list-footer-card {
margin-top: 20px;

.candy-edition-price {
.candy-edition-name-price {
display: flex;
flex-direction: column;
align-items: center;
}

.row {
display: flex;
justify-content: space-between;
justify-content: flex-start;
}

.candy-edition-slide {
Expand All @@ -85,6 +84,11 @@
}
}

.candy-price {
font-size: 14px;
color: #757575;
}

.available {
text-align: left;
margin-block: 20px;
Expand Down

0 comments on commit d6cb21d

Please sign in to comment.