more minor fixes for file actions and scrollbar

This commit is contained in:
btzr-io 2017-10-08 17:19:00 -06:00
parent 725b9e1066
commit c0f545a774
3 changed files with 11 additions and 12 deletions

View file

@ -32,22 +32,21 @@ class FileActions extends React.PureComponent {
className="no-underline" className="no-underline"
navigateParams={{ uri, tab: "tip" }} 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 && {showDelete &&
<Link <Link
button="text" button="text"
icon="icon-trash" icon="icon-trash"
label={__("Remove")} label={__("Remove")}
className="card__action--right no-underline" className="no-underline"
onClick={() => openModal(modals.CONFIRM_FILE_REMOVE, { uri })} onClick={() => openModal(modals.CONFIRM_FILE_REMOVE, { uri })}
/>} />}
<Link
button="text"
icon="icon-flag"
href={`https://lbry.io/dmca?claim_id=${claimId}`}
className="no-underline"
label={__("report")}
/>
</section> </section>
); );
} }

View file

@ -44,8 +44,8 @@ body
position: absolute; position: absolute;
top: var(--header-height); top: var(--header-height);
bottom: 0; bottom: 0;
left: 3px; left: 4px;
right: 3px; right: 4px;
main { main {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;

View file

@ -6,7 +6,7 @@
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background: var(--scrollbar-track-bg); background: var(--scrollbar-track-bg);
border-radius: var(--scrollbar-radius); border-radius: var(--scrollbar-radius);
margin: 16px 0; margin: 4px 0;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {