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>
)}
{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")}
</div>
)}
{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")}
</div>
)}
{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()}
</div>
)}
@ -284,7 +284,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
</button>
{this.linkBtn(true)}
{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(
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} />
{this.creatorIsMod_ && (
<span className="mx-1 badge badge-muted">{i18n.t("mod")}</span>
<span className="mx-1 badge">{i18n.t("mod")}</span>
)}
{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 && (
<span className="mx-1 badge badge-muted">
<span className="mx-1 badge">
{i18n.t("bot_account").toLowerCase()}
</span>
)}
@ -345,7 +345,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
)}
</li>
{post_view.post.language_id !== 0 && (
<span className="mx-1 badge badge-muted">
<span className="mx-1 badge">
{
this.props.allLanguages.find(
lang => lang.id === post_view.post.language_id