From: Dessalines Date: Mon, 17 Feb 2020 19:37:36 +0000 (-0500) Subject: Removing images from iframely cards. X-Git-Url: http://these/git/%22%7Burl%7D/static/%24%7BappleTouchIcon%7D?a=commitdiff_plain;h=2fbcb2b23f65e3da0483f25eb208ef0d2b3b6a20;p=lemmy.git Removing images from iframely cards. --- 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}