From 3a598b7af2387552a2df96492bc52388e1f65c4b 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 ea237edb3..b0a0d34b3 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}