From 1addd5cead594434cf10bc8208fb39ddded8196f Mon Sep 17 00:00:00 2001 From: Christopher Date: Sun, 3 Jan 2021 21:33:33 +0100 Subject: [PATCH] new listing style --- .../components/SelloutList/SelloutItem.tsx | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/phone/src/apps/sellout/components/SelloutList/SelloutItem.tsx b/phone/src/apps/sellout/components/SelloutList/SelloutItem.tsx index df59279..be5470d 100644 --- a/phone/src/apps/sellout/components/SelloutList/SelloutItem.tsx +++ b/phone/src/apps/sellout/components/SelloutList/SelloutItem.tsx @@ -13,32 +13,44 @@ const useStyles = makeStyles((theme) => ({ flexFlow: "row nowrap", alignItems: "flex-start", width: "100%", - marginTop: "3px", + marginTop: "5px", }, content: { display: "flex", - marginTop: "-10px", + marginTop: "-5px", flexFlow: "column nowrap", width: "100%", }, paper: { + borderRadius: 15, overflow: "auto", display: "flex", - flexFlow: "column", - alignItems: "flex", + color: '#292929', + justifyContent: 'space-between', height: "auto", - background: "#232323", + background: "#fff", marginBottom: 20, + boxShadow: '0px 0px 5px 0px rgba(0,0,0,0.75)' }, header: { - margin: 10, - }, - headerTypo: { margin: 5, }, - desc: { - padding: 10, + headerTypo: { + margin: 3, }, + desc: { + padding: 3, + fontSize: 16, + color: '#838383', + paddingTop: '5px', + paddingLeft: '10px', + }, + imageSection: { + float: 'right', + }, + listingImage: { + + } })); export const SelloutItem = (listing) => { @@ -48,34 +60,22 @@ export const SelloutItem = (listing) => {
- - {listing.name} - - - {listing.number} - - + {listing.title} + + {listing.description} +
- {listing.url ? ( - - ): ( - No image provided🙁 - ) } - - {listing.description} - -
- - +
+