- {_t("voip|video_call")}
+
+
+ {_t("voip|video_call")}
+
diff --git a/src/components/views/elements/ImageView.tsx b/src/components/views/elements/ImageView.tsx
index e88a1c066ea..ac13f04bc3c 100644
--- a/src/components/views/elements/ImageView.tsx
+++ b/src/components/views/elements/ImageView.tsx
@@ -11,6 +11,15 @@ Please see LICENSE files in the repository root for full details.
import React, { type JSX, createRef, type CSSProperties, useEffect } from "react";
import FocusLock from "react-focus-lock";
import { type MatrixEvent } from "matrix-js-sdk/src/matrix";
+import {
+ CloseIcon,
+ DownloadIcon,
+ OverflowHorizontalIcon,
+ RotateLeftIcon,
+ RotateRightIcon,
+ ZoomInIcon,
+ ZoomOutIcon,
+} from "@vector-im/compound-design-tokens/assets/web/icons";
import { _t } from "../../../languageHandler";
import MemberAvatar from "../avatars/MemberAvatar";
@@ -501,25 +510,12 @@ export default class ImageView extends React.Component
{
onClick={this.onOpenContextMenu}
ref={this.contextMenuButton}
isExpanded={this.state.contextMenuDisplayed}
- />
+ >
+
+
);
}
- const zoomOutButton = (
-
- );
- const zoomInButton = (
-
- );
-
let title: JSX.Element | undefined;
if (this.props.mxEvent?.getContent()) {
title = (
@@ -544,18 +540,34 @@ export default class ImageView extends React.Component {
{info}
{title}
- {zoomOutButton}
- {zoomInButton}
+
+
+
+
+
+
+ >
+
+
+ >
+
+
{
className="mx_ImageView_button mx_ImageView_button_close"
title={_t("action|close")}
onClick={this.props.onFinished}
- />
+ >
+
+
{this.renderContextMenu()}
@@ -612,10 +626,12 @@ export const DownloadButton: React.FC