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

Fix forwarding UI papercuts #8482

Merged
merged 3 commits into from
May 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions res/css/views/dialogs/_ForwardDialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion src/components/views/dialogs/ForwardDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const Entry: React.FC<IEntryProps> = ({ room, type, content, matrixClient: cli,
<AccessibleTooltipButton
className="mx_ForwardList_roomButton"
onClick={jumpToRoom}
title={_t("Open link")}
title={_t("Open room")}
yOffset={-20}
alignment={Alignment.Top}
>
Expand Down Expand Up @@ -261,6 +261,7 @@ const ForwardDialog: React.FC<IProps> = ({ matrixClient: cli, event, permalinkCr
{ rooms.length > 0 ? (
<div className="mx_ForwardList_results">
<TruncatedList
className="mx_ForwardList_resultsList"
truncateAt={truncateAt}
createOverflowElement={overflowTile}
getChildren={(start, end) => rooms.slice(start, end).map(room =>
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -2555,7 +2555,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",
Expand Down