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

Commit af78356

Browse files
Fix forwarding UI papercuts (#8482)
1 parent 2e9c2dd commit af78356

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

res/css/views/dialogs/_ForwardDialog.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ limitations under the License.
8585
margin-top: 24px;
8686
}
8787

88+
.mx_ForwardList_resultsList {
89+
padding-right: 8px;
90+
}
91+
8892
.mx_ForwardList_entry {
8993
display: flex;
9094
justify-content: space-between;

src/components/views/dialogs/ForwardDialog.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const Entry: React.FC<IEntryProps> = ({ room, type, content, matrixClient: cli,
131131
<AccessibleTooltipButton
132132
className="mx_ForwardList_roomButton"
133133
onClick={jumpToRoom}
134-
title={_t("Open link")}
134+
title={_t("Open room")}
135135
yOffset={-20}
136136
alignment={Alignment.Top}
137137
>
@@ -261,6 +261,7 @@ const ForwardDialog: React.FC<IProps> = ({ matrixClient: cli, event, permalinkCr
261261
{ rooms.length > 0 ? (
262262
<div className="mx_ForwardList_results">
263263
<TruncatedList
264+
className="mx_ForwardList_resultsList"
264265
truncateAt={truncateAt}
265266
createOverflowElement={overflowTile}
266267
getChildren={(start, end) => rooms.slice(start, end).map(room =>

src/i18n/strings/en_EN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2555,7 +2555,7 @@
25552555
"You don't have permission to do this": "You don't have permission to do this",
25562556
"Sending": "Sending",
25572557
"Sent": "Sent",
2558-
"Open link": "Open link",
2558+
"Open room": "Open room",
25592559
"Send": "Send",
25602560
"Forward message": "Forward message",
25612561
"Message preview": "Message preview",

0 commit comments

Comments
 (0)