style logo in embed

This commit is contained in:
zeppi 2021-08-03 13:23:52 -04:00 committed by jessopb
parent 426042feab
commit e3e5c50a13
3 changed files with 17 additions and 2 deletions

View file

@ -31,7 +31,17 @@ export default function Logo(props: Props) {
if (LOGO_TEXT_LIGHT) {
return (
<>
<img className={'header__navigation-logo'} src={LOGO_TEXT_LIGHT} />
<img className={'file-viewer__overlay-logo--videoend'} src={LOGO_TEXT_LIGHT} />
</>
);
} else {
return defaultWithLabel;
}
} else if (type === 'embed-ended') {
if (LOGO_TEXT_LIGHT) {
return (
<>
<img className={'file-viewer__overlay-logo--videoend'} src={LOGO_TEXT_LIGHT} />
</>
);
} else {

View file

@ -60,3 +60,8 @@
font-size: var(--font-large);
}
}
.file-viewer__overlay-logo--videoend {
max-height: 3.5rem;
max-width: 12rem;
}

View file

@ -38,7 +38,7 @@ function FileViewerEmbeddedEnded(props: Props) {
<div className="file-viewer__overlay">
<div className="file-viewer__overlay-secondary">
<Button className="file-viewer__overlay-logo" href={URL}>
<Logo type={'embed'} />
<Logo type={'embed-ended'} />
</Button>
</div>
<div className="file-viewer__overlay-title">{prompt}</div>