mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2025-01-10 20:15:50 +00:00
use span
This commit is contained in:
parent
9e1eb5fe19
commit
c020debf6d
1 changed files with 8 additions and 8 deletions
|
@ -315,28 +315,28 @@ 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
|
<span
|
||||||
className="badge text-info text-bg-light d-sm-inline me-2"
|
className="badge text-info text-bg-light d-sm-inline me-2"
|
||||||
aria-label={I18NextService.i18n.t("creator")}
|
aria-label={I18NextService.i18n.t("creator")}
|
||||||
data-tippy-content={I18NextService.i18n.t("creator")}
|
data-tippy-content={I18NextService.i18n.t("creator")}
|
||||||
>
|
>
|
||||||
{I18NextService.i18n.t("op")}
|
{I18NextService.i18n.t("op")}
|
||||||
</div>
|
</span>
|
||||||
)}
|
)}
|
||||||
{isMod_ && (
|
{isMod_ && (
|
||||||
<div className="badge text-bg-light d-none d-sm-inline me-2">
|
<span className="badge text-bg-light d-none d-sm-inline me-2">
|
||||||
{I18NextService.i18n.t("mod")}
|
{I18NextService.i18n.t("mod")}
|
||||||
</div>
|
</span>
|
||||||
)}
|
)}
|
||||||
{isAdmin_ && (
|
{isAdmin_ && (
|
||||||
<div className="badge text-bg-light d-none d-sm-inline me-2">
|
<span className="badge text-bg-light d-none d-sm-inline me-2">
|
||||||
{I18NextService.i18n.t("admin")}
|
{I18NextService.i18n.t("admin")}
|
||||||
</div>
|
</span>
|
||||||
)}
|
)}
|
||||||
{cv.creator.bot_account && (
|
{cv.creator.bot_account && (
|
||||||
<div className="badge text-bg-light d-none d-sm-inline me-2">
|
<span className="badge text-bg-light d-none d-sm-inline me-2">
|
||||||
{I18NextService.i18n.t("bot_account").toLowerCase()}
|
{I18NextService.i18n.t("bot_account").toLowerCase()}
|
||||||
</div>
|
</span>
|
||||||
)}
|
)}
|
||||||
{this.props.showCommunity && (
|
{this.props.showCommunity && (
|
||||||
<>
|
<>
|
||||||
|
|
Loading…
Reference in a new issue