Improve style

This commit is contained in:
saltrafael 2021-08-04 10:45:24 -03:00 committed by jessopb
parent c55978f9d6
commit 7921c0971e
3 changed files with 5 additions and 1 deletions

View file

@ -366,6 +366,8 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
{isPlayable && (
<FileWatchLaterLink focusable={false} uri={uri} />
)}
</div>
<div className="claim-preview__hover-actions">
{/* @if TARGET='app' */}
{claim && !isCollection && (
<FileDownloadLink focusable={false} uri={canonicalUrl} hideOpenButton hideDownloadStatus />

View file

@ -212,6 +212,8 @@ function ClaimPreviewTile(props: Props) {
{isPlayable && (
<FileWatchLaterLink focusable={false} uri={uri} />
)}
</div>
<div className="claim-preview__hover-actions">
{/* @if TARGET='app' */}
{isStream && (
<FileDownloadLink focusable={false} uri={canonicalUrl} hideOpenButton />

View file

@ -672,7 +672,7 @@
position: relative;
float: right;
top: var(--spacing-xxs);
right: var(--spacing-xxs);
margin-right: var(--spacing-xxs);
& > * {
color: var(--color-text);