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 && ( {isPlayable && (
<FileWatchLaterLink focusable={false} uri={uri} /> <FileWatchLaterLink focusable={false} uri={uri} />
)} )}
</div>
<div className="claim-preview__hover-actions">
{/* @if TARGET='app' */} {/* @if TARGET='app' */}
{claim && !isCollection && ( {claim && !isCollection && (
<FileDownloadLink focusable={false} uri={canonicalUrl} hideOpenButton hideDownloadStatus /> <FileDownloadLink focusable={false} uri={canonicalUrl} hideOpenButton hideDownloadStatus />

View file

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

View file

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