remove badge-muted

This commit is contained in:
Felix Ableitner 2023-05-25 10:52:00 +02:00
parent 7b96c89dcb
commit 8837cf568e
2 changed files with 8 additions and 8 deletions

View file

@ -246,17 +246,17 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
</div> </div>
)} )}
{isMod_ && ( {isMod_ && (
<div className="badge badge-muted d-none d-sm-inline mr-2"> <div className="badge d-none d-sm-inline mr-2">
{i18n.t("mod")} {i18n.t("mod")}
</div> </div>
)} )}
{isAdmin_ && ( {isAdmin_ && (
<div className="badge badge-muted d-none d-sm-inline mr-2"> <div className="badge d-none d-sm-inline mr-2">
{i18n.t("admin")} {i18n.t("admin")}
</div> </div>
)} )}
{cv.creator.bot_account && ( {cv.creator.bot_account && (
<div className="badge badge-muted d-none d-sm-inline mr-2"> <div className="badge d-none d-sm-inline mr-2">
{i18n.t("bot_account").toLowerCase()} {i18n.t("bot_account").toLowerCase()}
</div> </div>
)} )}
@ -284,7 +284,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
</button> </button>
{this.linkBtn(true)} {this.linkBtn(true)}
{cv.comment.language_id !== 0 && ( {cv.comment.language_id !== 0 && (
<span className="badge badge-muted d-none d-sm-inline mr-2"> <span className="badge d-none d-sm-inline mr-2">
{ {
this.props.allLanguages.find( this.props.allLanguages.find(
lang => lang.id === cv.comment.language_id lang => lang.id === cv.comment.language_id

View file

@ -327,13 +327,13 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<PersonListing person={post_view.creator} /> <PersonListing person={post_view.creator} />
{this.creatorIsMod_ && ( {this.creatorIsMod_ && (
<span className="mx-1 badge badge-muted">{i18n.t("mod")}</span> <span className="mx-1 badge">{i18n.t("mod")}</span>
)} )}
{this.creatorIsAdmin_ && ( {this.creatorIsAdmin_ && (
<span className="mx-1 badge badge-muted">{i18n.t("admin")}</span> <span className="mx-1 badge">{i18n.t("admin")}</span>
)} )}
{post_view.creator.bot_account && ( {post_view.creator.bot_account && (
<span className="mx-1 badge badge-muted"> <span className="mx-1 badge">
{i18n.t("bot_account").toLowerCase()} {i18n.t("bot_account").toLowerCase()}
</span> </span>
)} )}
@ -345,7 +345,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
)} )}
</li> </li>
{post_view.post.language_id !== 0 && ( {post_view.post.language_id !== 0 && (
<span className="mx-1 badge badge-muted"> <span className="mx-1 badge">
{ {
this.props.allLanguages.find( this.props.allLanguages.find(
lang => lang.id === post_view.post.language_id lang => lang.id === post_view.post.language_id