1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-12-05 15:22:09 +03:00

Fix forwarding UI papercuts (#8482)

This commit is contained in:
Šimon Brandner
2022-05-03 19:18:16 +02:00
committed by GitHub
parent 2e9c2dd42b
commit af78356c9d
3 changed files with 7 additions and 2 deletions

View File

@@ -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}
>
@@ -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 =>