Set max size for Element logo in search warning (#11779)

pull/28217/head
Germain 2023-10-20 16:27:29 +01:00 committed by GitHub
parent f784a085fd
commit 8cf6f03283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ export default function SearchWarning({ isRoomEncrypted, kind }: IProps): JSX.El
let text: ReactNode | undefined; let text: ReactNode | undefined;
let logo: JSX.Element | undefined; let logo: JSX.Element | undefined;
if (desktopBuilds?.get("available")) { if (desktopBuilds?.get("available")) {
logo = <img alt="" src={desktopBuilds.get("logo")} />; logo = <img alt="" src={desktopBuilds.get("logo")} width="32px" />;
const buildUrl = desktopBuilds.get("url"); const buildUrl = desktopBuilds.get("url");
switch (kind) { switch (kind) {
case WarningKind.Files: case WarningKind.Files: