]> Untitled Git - lemmy-ui.git/commitdiff
add tooltip
authorAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Mon, 26 Jun 2023 20:49:09 +0000 (16:49 -0400)
committerAlec Armbruster <35377827+alectrocute@users.noreply.github.com>
Mon, 26 Jun 2023 20:49:09 +0000 (16:49 -0400)
src/shared/components/comment/comment-node.tsx

index 70369c70c8c0e4cc487550bdca18c9f10b40a7b3..d7cda869e59633521e010a04fe73249ba3a792c6 100644 (file)
@@ -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>
               )}