You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-09 08:42:50 +03:00
Normalize the name of buttons on MessageActionBar (#8781)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
@@ -149,11 +149,11 @@ limitations under the License.
|
|||||||
mask-image: url('$(res)/img/element-icons/collapse-message.svg');
|
mask-image: url('$(res)/img/element-icons/collapse-message.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mx_MessageActionBar_viewInRoom::after {
|
&.mx_MessageActionBar_viewInRoomButton::after {
|
||||||
mask-image: url('$(res)/img/element-icons/view-in-room.svg');
|
mask-image: url('$(res)/img/element-icons/view-in-room.svg');
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mx_MessageActionBar_copyLinkToThread::after {
|
&.mx_MessageActionBar_copyLinkButton::after {
|
||||||
mask-image: url('$(res)/img/element-icons/link.svg');
|
mask-image: url('$(res)/img/element-icons/link.svg');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1372,13 +1372,13 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
|
|||||||
</div>
|
</div>
|
||||||
<Toolbar className="mx_MessageActionBar" aria-label={_t("Message Actions")} aria-live="off">
|
<Toolbar className="mx_MessageActionBar" aria-label={_t("Message Actions")} aria-live="off">
|
||||||
<RovingAccessibleTooltipButton
|
<RovingAccessibleTooltipButton
|
||||||
className="mx_MessageActionBar_maskButton mx_MessageActionBar_viewInRoom"
|
className="mx_MessageActionBar_maskButton mx_MessageActionBar_viewInRoomButton"
|
||||||
onClick={this.viewInRoom}
|
onClick={this.viewInRoom}
|
||||||
title={_t("View in room")}
|
title={_t("View in room")}
|
||||||
key="view_in_room"
|
key="view_in_room"
|
||||||
/>
|
/>
|
||||||
<RovingAccessibleTooltipButton
|
<RovingAccessibleTooltipButton
|
||||||
className="mx_MessageActionBar_maskButton mx_MessageActionBar_copyLinkToThread"
|
className="mx_MessageActionBar_maskButton mx_MessageActionBar_copyLinkButton"
|
||||||
onClick={this.copyLinkToThread}
|
onClick={this.copyLinkToThread}
|
||||||
title={_t("Copy link to thread")}
|
title={_t("Copy link to thread")}
|
||||||
key="copy_link_to_thread"
|
key="copy_link_to_thread"
|
||||||
|
Reference in New Issue
Block a user