Skip to content

Commit

Permalink
fix: some unified market ui issues in mobile (#1713)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo authored May 19, 2023
1 parent 0ecf73a commit f7bb18c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 6 deletions.
19 changes: 14 additions & 5 deletions webapp/src/components/AssetCard/AssetCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,6 @@
transition: height 0.3s !important;
}

.AssetCard:hover .AssetImage.catalog {
height: 161px;
transition: height 0.3s !important;
}

.AssetCard .PriceInMana .ui.header.large {
font-size: 30px;
font-weight: 600;
Expand Down Expand Up @@ -196,6 +191,11 @@
}

@media (min-width: 1199px) {
.AssetCard:hover .AssetImage.catalog {
height: 161px;
transition: height 0.3s !important;
}

.AssetCard .extraInformation {
display: flex;
visibility: hidden;
Expand Down Expand Up @@ -289,6 +289,15 @@
}

@media (max-width: 768px) {
.AssetCard.ui.card > .content.catalog,
.ui.cards > .AssetCard.card > .content.catalog {
display: flex;
}

.AssetCard .catalog .tags {
margin-top: auto;
}

.AssetBrowse .ui.cards .ui.card.AssetCard {
transform: translateY(0px);
}
Expand Down
3 changes: 3 additions & 0 deletions webapp/src/components/AssetImage/AssetImage.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@
}

@media (max-width: 768px) {
.AssetImage .image {
width: 100%;
}
.AvailableForMintPopup {
right: 0;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const ListingsTable = (props: Props) => {
setOrders(
formatDataToTable(
isNFT(asset)
? response.data.filter(order => order.tokenId === asset.tokenId)
? response.data.filter(order => order.tokenId !== asset.tokenId)
: response.data,
isMobileOrTablet
)
Expand Down
8 changes: 8 additions & 0 deletions webapp/src/components/HomePage/Slideshow/Slideshow.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@
.Slideshow {
overflow: hidden;
}
.Slideshow .assets {
overflow: scroll;
}
}

.Slideshow .ItemsSection .tabs {
Expand Down Expand Up @@ -176,6 +179,11 @@
}

@media (max-width: 768px) {
.Slideshow .AssetCard .wrapBigText {
flex-direction: row;
align-items: center;
}

.Slideshow .ItemsSection {
display: flex;
align-items: center;
Expand Down

0 comments on commit f7bb18c

Please sign in to comment.