fix embed end logo #7106

Merged
jessopb merged 1 commit from fix-embedEnd into master 2021-09-15 17:28:45 +02:00
2 changed files with 6 additions and 2 deletions

View file

@ -195,6 +195,10 @@
} }
} }
.file-viewer_embed-ended-title {
white-space: pre-wrap;
}
.content__viewer--floating { .content__viewer--floating {
.file-viewer__overlay-title, .file-viewer__overlay-title,
.file-viewer__overlay-secondary { .file-viewer__overlay-secondary {

View file

@ -38,10 +38,10 @@ function FileViewerEmbeddedEnded(props: Props) {
<div className="file-viewer__overlay"> <div className="file-viewer__overlay">
<div className="file-viewer__overlay-secondary"> <div className="file-viewer__overlay-secondary">
<Button className="file-viewer__overlay-logo" href={URL}> <Button className="file-viewer__overlay-logo" href={URL}>
<Logo type={'embed-ended'} /> <Logo type={'embed'} />
</Button> </Button>
</div> </div>
<div className="file-viewer__overlay-title">{prompt}</div> <div className="file-viewer__overlay-title file-viewer_embed-ended-title">{prompt}</div>
<div className="file-viewer__overlay-actions"> <div className="file-viewer__overlay-actions">
<Button label={__('Rewatch or Discuss')} button="primary" href={lbrytvLink} /> <Button label={__('Rewatch or Discuss')} button="primary" href={lbrytvLink} />
{!isAuthenticated && ( {!isAuthenticated && (