diff --git a/static/app-strings.json b/static/app-strings.json index e1abc146d..b73b0aa35 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -2169,5 +2169,6 @@ "Content Page": "Content Page", "Card Last 4": "Card Last 4", "Search blocked channel name": "Search blocked channel name", + "Discuss": "Discuss", "--end--": "--end--" } diff --git a/ui/scss/component/_file-render.scss b/ui/scss/component/_file-render.scss index 83b8995ca..2b65b0d7d 100644 --- a/ui/scss/component/_file-render.scss +++ b/ui/scss/component/_file-render.scss @@ -231,6 +231,10 @@ .button + .button { margin-left: var(--spacing-m); } + + .button--link { + vertical-align: middle; + } } .file-viewer__overlay-logo { diff --git a/web/component/fileViewerEmbeddedEnded/view.jsx b/web/component/fileViewerEmbeddedEnded/view.jsx index d56a77f27..695637716 100644 --- a/web/component/fileViewerEmbeddedEnded/view.jsx +++ b/web/component/fileViewerEmbeddedEnded/view.jsx @@ -1,6 +1,7 @@ // @flow import React from 'react'; import Button from 'component/button'; +import * as ICONS from 'constants/icons'; import { formatLbryUrlForWeb } from 'util/url'; import { withRouter } from 'react-router'; import { URL, SITE_NAME } from 'config'; @@ -34,6 +35,7 @@ function FileViewerEmbeddedEnded(props: Props) { // $FlowFixMe const prompt = prompts[promptKey]; const lbrytvLink = `${URL}${formatLbryUrlForWeb(uri)}?src=${promptKey}`; + const showReplay = Boolean(window.player); return (
@@ -46,9 +48,18 @@ function FileViewerEmbeddedEnded(props: Props) { <>
{prompt}
- { /* add button to replay? */ } <> -