Osprey landing page and styling #632

Merged
daovist merged 6 commits from multisite-styling into master 2018-10-15 19:42:36 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit e17c8c936e - Show all commits

View file

@ -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;

View file

@ -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: