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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -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;

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

View File

@ -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",