fix embed end logo (#7106)

This commit is contained in:
jessopb 2021-09-15 11:28:45 -04:00 committed by GitHub
parent 21ba7840ca
commit 91fbd615e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 && (