From e17c8c936e50d26ea32edeec47cc9aedc0392c6d Mon Sep 17 00:00:00 2001 From: Travis Eden Date: Thu, 11 Oct 2018 15:01:17 -0400 Subject: [PATCH] move title below image; h6 -> h3 --- client/scss/asset-preview/_asset-preview.scss | 2 +- client/src/components/AssetPreview/index.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/scss/asset-preview/_asset-preview.scss b/client/scss/asset-preview/_asset-preview.scss index ea33e354..fe2eb06c 100644 --- a/client/scss/asset-preview/_asset-preview.scss +++ b/client/scss/asset-preview/_asset-preview.scss @@ -10,7 +10,7 @@ width: calc(100% - 12px - 12px - 2px); } -h6.list-title { +h3.list-title { margin: 0; text-overflow: ellipsis; word-wrap: break-word; diff --git a/client/src/components/AssetPreview/index.jsx b/client/src/components/AssetPreview/index.jsx index 08295930..d89f0bba 100644 --- a/client/src/components/AssetPreview/index.jsx +++ b/client/src/components/AssetPreview/index.jsx @@ -14,23 +14,23 @@ const AssetPreview = ({ defaultThumbnail, claimData: { name, claimId, fileExt, c case 'image/gif': return (
-
{title}
{name} +

{title}

); case 'video/mp4': return (
-
{title}
{name} +

{title}

); default: