mirror of https://github.com/vector-im/riot-web
Set max size for Element logo in search warning (#11779)
parent
f784a085fd
commit
8cf6f03283
|
@ -72,7 +72,7 @@ export default function SearchWarning({ isRoomEncrypted, kind }: IProps): JSX.El
|
|||
let text: ReactNode | undefined;
|
||||
let logo: JSX.Element | undefined;
|
||||
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");
|
||||
switch (kind) {
|
||||
case WarningKind.Files:
|
||||
|
|
Loading…
Reference in New Issue