move title below image; h6 -> h3
This commit is contained in:
parent
b87a768803
commit
e17c8c936e
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -14,23 +14,23 @@ const AssetPreview = ({ defaultThumbnail, claimData: { name, claimId, fileExt, c
|
|||
case 'image/gif':
|
||||
return (
|
||||
<div>
|
||||
<h6 class='list-title'>{title}</h6>
|
||||
<img
|
||||
className={'asset-preview-image'}
|
||||
src={embedUrl}
|
||||
alt={name}
|
||||
/>
|
||||
<h3 className='list-title'>{title}</h3>
|
||||
</div>
|
||||
);
|
||||
case 'video/mp4':
|
||||
return (
|
||||
<div>
|
||||
<h6 class='list-title'>{title}</h6>
|
||||
<img
|
||||
className={'asset-preview-video'}
|
||||
src={thumbnail || defaultThumbnail}
|
||||
alt={name}
|
||||
/>
|
||||
<h3 className='list-title'>{title}</h3>
|
||||
</div>
|
||||
);
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue