From e85a8697331eb5f586bc2648dc935963b0762e23 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Sun, 30 Jan 2022 10:41:18 +0530 Subject: [PATCH] Add max width for room and space options menu Signed-off-by: Ajay Bura --- src/app/molecules/room-options/RoomOptions.jsx | 4 ++-- src/app/molecules/space-options/SpaceOptions.jsx | 4 ++-- src/app/organisms/room/RoomSettings.jsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/molecules/room-options/RoomOptions.jsx b/src/app/molecules/room-options/RoomOptions.jsx index 83a94827..734f93bd 100644 --- a/src/app/molecules/room-options/RoomOptions.jsx +++ b/src/app/molecules/room-options/RoomOptions.jsx @@ -38,7 +38,7 @@ function RoomOptions({ roomId, afterOptionSelect }) { }; return ( - <> +
{twemojify(`Options for ${initMatrix.matrixClient.getRoom(roomId)?.name}`)} Mark as read Leave Notification - +
); } diff --git a/src/app/molecules/space-options/SpaceOptions.jsx b/src/app/molecules/space-options/SpaceOptions.jsx index cfa8012d..a1f0c6bb 100644 --- a/src/app/molecules/space-options/SpaceOptions.jsx +++ b/src/app/molecules/space-options/SpaceOptions.jsx @@ -44,7 +44,7 @@ function SpaceOptions({ roomId, afterOptionSelect }) { }; return ( - <> +
{twemojify(`Options for ${initMatrix.matrixClient.getRoom(roomId)?.name}`)} Leave - +
); } diff --git a/src/app/organisms/room/RoomSettings.jsx b/src/app/organisms/room/RoomSettings.jsx index 4c4fc2fa..d5e5c165 100644 --- a/src/app/organisms/room/RoomSettings.jsx +++ b/src/app/organisms/room/RoomSettings.jsx @@ -170,7 +170,7 @@ function RoomSettings({ roomId }) { — room settings - +