mirror of https://github.com/vector-im/riot-web
Normalize the name of buttons on MessageActionBar (#8781)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>pull/28217/head
parent
aedbeb2995
commit
c016815562
|
@ -149,11 +149,11 @@ limitations under the License.
|
|||
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');
|
||||
}
|
||||
|
||||
&.mx_MessageActionBar_copyLinkToThread::after {
|
||||
&.mx_MessageActionBar_copyLinkButton::after {
|
||||
mask-image: url('$(res)/img/element-icons/link.svg');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1372,13 +1372,13 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
|
|||
</div>
|
||||
<Toolbar className="mx_MessageActionBar" aria-label={_t("Message Actions")} aria-live="off">
|
||||
<RovingAccessibleTooltipButton
|
||||
className="mx_MessageActionBar_maskButton mx_MessageActionBar_viewInRoom"
|
||||
className="mx_MessageActionBar_maskButton mx_MessageActionBar_viewInRoomButton"
|
||||
onClick={this.viewInRoom}
|
||||
title={_t("View in room")}
|
||||
key="view_in_room"
|
||||
/>
|
||||
<RovingAccessibleTooltipButton
|
||||
className="mx_MessageActionBar_maskButton mx_MessageActionBar_copyLinkToThread"
|
||||
className="mx_MessageActionBar_maskButton mx_MessageActionBar_copyLinkButton"
|
||||
onClick={this.copyLinkToThread}
|
||||
title={_t("Copy link to thread")}
|
||||
key="copy_link_to_thread"
|
||||
|
|
Loading…
Reference in New Issue