style logo in embed
This commit is contained in:
parent
426042feab
commit
e3e5c50a13
3 changed files with 17 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -60,3 +60,8 @@
|
|||
font-size: var(--font-large);
|
||||
}
|
||||
}
|
||||
|
||||
.file-viewer__overlay-logo--videoend {
|
||||
max-height: 3.5rem;
|
||||
max-width: 12rem;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue