add tooltip

This commit is contained in:
Alec Armbruster 2023-06-26 16:49:09 -04:00
parent b69ad1264d
commit 1faa9f354b
No known key found for this signature in database
GPG key ID: 52BC7C84E960FD1B

View file

@ -315,7 +315,11 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
<Icon icon="shield" inline classes="text-danger me-2" /> <Icon icon="shield" inline classes="text-danger me-2" />
)} )}
{this.isPostCreator && ( {this.isPostCreator && (
<div className="badge text-info text-bg-light d-none d-sm-inline me-2"> <div
className="badge text-info text-bg-light d-none d-sm-inline me-2"
aria-label={I18NextService.i18n.t("creator")}
data-tippy-content={I18NextService.i18n.t("creator")}
>
{I18NextService.i18n.t("op").toUpperCase()} {I18NextService.i18n.t("op").toUpperCase()}
</div> </div>
)} )}