Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
[Backport staging] Set max size for Element logo in search warning (#…
Browse files Browse the repository at this point in the history
…11782)

Co-authored-by: Germain <[email protected]>
  • Loading branch information
RiotRobot and Germain authored Oct 20, 2023
1 parent b09251d commit 370c0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/elements/SearchWarning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 370c0e9

Please sign in to comment.