more fixes :)
This commit is contained in:
parent
6cee8d7664
commit
79895f6c7f
5 changed files with 14 additions and 18 deletions
|
@ -18,6 +18,7 @@ class FileActions extends React.PureComponent {
|
|||
icon="icon-edit"
|
||||
label={__("Edit")}
|
||||
navigate="/publish"
|
||||
className="no-underline"
|
||||
navigateParams={{ id: claimId }}
|
||||
/>}
|
||||
<FileDownloadLink uri={uri} />
|
||||
|
@ -26,16 +27,25 @@ class FileActions extends React.PureComponent {
|
|||
icon="icon-gift"
|
||||
label={__("Support")}
|
||||
navigate="/show"
|
||||
className="no-underline"
|
||||
navigateParams={{ uri, tab: "tip" }}
|
||||
/>
|
||||
<Link
|
||||
button="text"
|
||||
icon="icon-flag"
|
||||
href={`https://lbry.io/dmca?claim_id=${claimId}`}
|
||||
className="card__action--right no-underline"
|
||||
label={__("report")}
|
||||
/>
|
||||
{showDelete &&
|
||||
<Link
|
||||
button="text"
|
||||
icon="icon-trash"
|
||||
label={__("Remove")}
|
||||
className="card__action--right"
|
||||
className="card__action--right no-underline"
|
||||
onClick={() => openModal(modals.CONFIRM_FILE_REMOVE, { uri })}
|
||||
/>}
|
||||
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -71,12 +71,6 @@ class FileDetails extends React.PureComponent {
|
|||
</tr>}
|
||||
</tbody>
|
||||
</table>
|
||||
<p>
|
||||
<Link
|
||||
href={`https://lbry.io/dmca?claim_id=${claim.claim_id}`}
|
||||
label={__("report")}
|
||||
/>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -80,6 +80,7 @@ class FileDownloadLink extends React.PureComponent {
|
|||
button="text"
|
||||
label={__("Download")}
|
||||
icon="icon-download"
|
||||
className="no-underline"
|
||||
onClick={() => {
|
||||
purchaseUri(uri);
|
||||
}}
|
||||
|
@ -92,6 +93,7 @@ class FileDownloadLink extends React.PureComponent {
|
|||
label={__("Open")}
|
||||
button="text"
|
||||
icon="icon-external-link-square"
|
||||
className="no-underline"
|
||||
onClick={() => openInShell(fileInfo.download_path)}
|
||||
/>
|
||||
);
|
||||
|
|
|
@ -133,7 +133,7 @@ class FileTile extends React.PureComponent {
|
|||
</div>
|
||||
{description &&
|
||||
<div className="card__content card__subtext">
|
||||
<TruncatedText lines={!showActions ? 4 : 2}>
|
||||
<TruncatedText lines={!showActions ? 3 : 2}>
|
||||
{description}
|
||||
</TruncatedText>
|
||||
</div>}
|
||||
|
|
|
@ -20,13 +20,3 @@
|
|||
top: 0px;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
.file-actions
|
||||
{
|
||||
line-height: var(--button-height);
|
||||
min-height: var(--button-height);
|
||||
}
|
||||
|
||||
*/
|
Loading…
Add table
Reference in a new issue