From 1faa9f354bc1429d14ff6437ff46b1eee1249cca Mon Sep 17 00:00:00 2001 From: Alec Armbruster <35377827+alectrocute@users.noreply.github.com> Date: Mon, 26 Jun 2023 16:49:09 -0400 Subject: [PATCH] add tooltip --- src/shared/components/comment/comment-node.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index 70369c7..d7cda86 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -315,7 +315,11 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> { <Icon icon="shield" inline classes="text-danger me-2" /> )} {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()} </div> )} -- 2.44.1