1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2026-01-03 21:42:32 +03:00

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