Remove _RoleButton.pcss (#10958)

* Remove obsolete style rules

These have been obsolete since 3c5c2bef6d.

* Remove _RoleButton.pcss

mx_RoleButton_tooltip style rules are used only on NotificationBadge.tsx.

* Rename the class
This commit is contained in:
Suguru Hirahara 2023-05-25 04:03:19 +00:00 committed by GitHub
parent 02bf39cc72
commit 953da1ae2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 35 deletions

View file

@ -123,7 +123,7 @@ export default class NotificationBadge extends React.PureComponent<XOR<IProps, I
let tooltip: JSX.Element | undefined;
if (showUnsentTooltip && this.state.showTooltip && notification.color === NotificationColor.Unsent) {
label = _t("Message didn't send. Click for info.");
tooltip = <Tooltip className="mx_RoleButton_tooltip" label={label} />;
tooltip = <Tooltip className="mx_NotificationBadge_tooltip" label={label} />;
}
return (