From 6e5bc17af500443d48bec100f4d09bab55484b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 3 May 2022 18:50:41 +0200 Subject: [PATCH 1/2] Add padding between the scrollbar and the entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- res/css/views/dialogs/_ForwardDialog.scss | 4 ++++ src/components/views/dialogs/ForwardDialog.tsx | 1 + 2 files changed, 5 insertions(+) diff --git a/res/css/views/dialogs/_ForwardDialog.scss b/res/css/views/dialogs/_ForwardDialog.scss index ad7bf9a8167..2cdec19ebfb 100644 --- a/res/css/views/dialogs/_ForwardDialog.scss +++ b/res/css/views/dialogs/_ForwardDialog.scss @@ -85,6 +85,10 @@ limitations under the License. margin-top: 24px; } + .mx_ForwardList_resultsList { + padding-right: 8px; + } + .mx_ForwardList_entry { display: flex; justify-content: space-between; diff --git a/src/components/views/dialogs/ForwardDialog.tsx b/src/components/views/dialogs/ForwardDialog.tsx index 0a063df9c7b..aff592e721f 100644 --- a/src/components/views/dialogs/ForwardDialog.tsx +++ b/src/components/views/dialogs/ForwardDialog.tsx @@ -261,6 +261,7 @@ const ForwardDialog: React.FC = ({ matrixClient: cli, event, permalinkCr { rooms.length > 0 ? (
rooms.slice(start, end).map(room => From cb4f64cee14ddec37dcee99f0ca4b72e88b05d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Tue, 3 May 2022 18:51:34 +0200 Subject: [PATCH 2/2] `Open link` -> `Open room` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/dialogs/ForwardDialog.tsx | 2 +- src/i18n/strings/en_EN.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/dialogs/ForwardDialog.tsx b/src/components/views/dialogs/ForwardDialog.tsx index aff592e721f..100b04bc5ac 100644 --- a/src/components/views/dialogs/ForwardDialog.tsx +++ b/src/components/views/dialogs/ForwardDialog.tsx @@ -131,7 +131,7 @@ const Entry: React.FC = ({ room, type, content, matrixClient: cli, diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 17d730b4212..c6c7b78fe39 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -2553,7 +2553,7 @@ "You don't have permission to do this": "You don't have permission to do this", "Sending": "Sending", "Sent": "Sent", - "Open link": "Open link", + "Open room": "Open room", "Send": "Send", "Forward message": "Forward message", "Message preview": "Message preview",