From 2fbcb2b23f65e3da0483f25eb208ef0d2b3b6a20 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 17 Feb 2020 14:37:36 -0500 Subject: [PATCH] Removing images from iframely cards. --- ui/src/components/iframely-card.tsx | 31 +++++++++-------------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/ui/src/components/iframely-card.tsx b/ui/src/components/iframely-card.tsx index ea237edb..b0a0d34b 100644 --- a/ui/src/components/iframely-card.tsx +++ b/ui/src/components/iframely-card.tsx @@ -27,27 +27,10 @@ export class IFramelyCard extends Component< let iframely = this.props.iframely; return ( <> - {iframely.title && ( -
-
- {iframely.thumbnail_url && ( -
- {iframely.html ? ( - - - - ) : ( - - )} -
- )} -
+ {iframely.title && !this.state.expanded && ( +
+
+
@@ -57,7 +40,11 @@ export class IFramelyCard extends Component<
- + {new URL(iframely.url).hostname} -- 2.44.1