get recommended videos from search based on title #1845

Merged
neb-b merged 7 commits from next-video into master 2018-08-13 05:01:39 +02:00
2 changed files with 11 additions and 2 deletions
Showing only changes of commit 7944ab556a - Show all commits
src/renderer
component/fileTile
scss/component

View file

@ -123,8 +123,10 @@ class FileTile extends React.PureComponent<Props> {
'card__subtitle--x-small': small,
})}
>
{showUri ? uri : channel || __('Anonymous')}
{isRewardContent && <Icon icon={icons.FEATURED} />}
<span className="file-tile__channel">
{showUri ? uri : channel || __('Anonymous')}
</span>
{isRewardContent && <Icon iconColor="red" icon={icons.FEATURED} />}
{showLocal && isDownloaded && <Icon icon={icons.LOCAL} />}
</div>
<FilePrice hideFree uri={uri} />

View file

@ -31,9 +31,16 @@
.card__subtitle {
line-height: 1;
display: flex;
align-items: center;
// justify-content: space-between;
}
}
.file-tile__channel {
padding-right: $spacing-width * 1/4;
}
.file-tile.file-tile--small {
padding-top: $spacing-vertical * 2/3;