From 60f75ed67688128a54242b92f83b1c86e2299e09 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Sat, 31 Oct 2020 18:08:17 -0500 Subject: [PATCH] Added /links button to StatusCard for preview cards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Added: - /links button to StatusCard for preview cards --- .../gabsocial/components/status_card.js | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/app/javascript/gabsocial/components/status_card.js b/app/javascript/gabsocial/components/status_card.js index a7324349..b535cd81 100644 --- a/app/javascript/gabsocial/components/status_card.js +++ b/app/javascript/gabsocial/components/status_card.js @@ -10,6 +10,8 @@ import { } from '../constants' import ResponsiveClassesComponent from '../features/ui/util/responsive_classes_component' import Icon from './icon' +import Button from './button' +import Text from './text' const IDNA_PREFIX = 'xn--' @@ -167,14 +169,25 @@ class StatusCard extends ImmutablePureComponent { ) const description = ( -
{trim(card.get('description') || '', maxDescription)}
- +