From fbd90b8f3e46b44e09b10f0f5bc539dc8553b5ca Mon Sep 17 00:00:00 2001 From: seanyesmunt Date: Thu, 8 Apr 2021 11:21:45 -0400 Subject: [PATCH] style pass --- ui/component/claimListDiscover/view.jsx | 13 +++-- ui/component/common/card.jsx | 10 +++- ui/component/recommendedContent/index.js | 3 +- ui/component/recommendedContent/view.jsx | 63 ++++++++++++------------ ui/scss/component/_card.scss | 16 ++---- ui/scss/component/_search.scss | 7 +++ 6 files changed, 61 insertions(+), 51 deletions(-) diff --git a/ui/component/claimListDiscover/view.jsx b/ui/component/claimListDiscover/view.jsx index bb6ff1c2a..c9a3ad099 100644 --- a/ui/component/claimListDiscover/view.jsx +++ b/ui/component/claimListDiscover/view.jsx @@ -508,10 +508,10 @@ function ClaimListDiscover(props: Props) { ) : (
{showHeader && ( -
- {headerToUse} - {meta &&
{meta}
} -
+
+ {headerToUse} + {meta &&
{meta}
} +
)} - {loading && new Array(dynamicPageSize).fill(1).map((x, i) => )} + {loading && + new Array(dynamicPageSize) + .fill(1) + .map((x, i) => )}
)} diff --git a/ui/component/common/card.jsx b/ui/component/common/card.jsx index c87122339..2e8e191a8 100644 --- a/ui/component/common/card.jsx +++ b/ui/component/common/card.jsx @@ -76,7 +76,15 @@ export default function Card(props: Props) {
- {titleActions &&
{titleActions}
} + {titleActions && ( +
+ {titleActions} +
+ )} {expandable && (
+ +
+ ) } body={
- {allRelated && ( + {viewMode === VIEW_ALL_RELATED && ( )} - {moreFrom && ( + {viewMode === VIEW_MORE_FROM && signingChannel && (