client: ノートにモデレーターバッジを表示するのを廃止

This commit is contained in:
syuilo 2021-11-21 13:36:44 +09:00
parent 1ec4156b49
commit f5bea67515
4 changed files with 9 additions and 25 deletions

View File

@ -7,6 +7,15 @@
-->
## 12.x.x (unreleased)
### Improvements
### Bugfixes
### Changes
- クライアント: ノートにモデレーターバッジを表示するのを廃止
## 12.97.0 (2021/11/19)
### Improvements

View File

@ -42,8 +42,6 @@
<MkUserName :user="appearNote.user"/>
</MkA>
<span v-if="appearNote.user.isBot" class="is-bot">bot</span>
<span v-if="appearNote.user.isAdmin" class="admin"><i class="fas fa-bookmark"></i></span>
<span v-if="!appearNote.user.isAdmin && appearNote.user.isModerator" class="moderator"><i class="far fa-bookmark"></i></span>
<span v-if="appearNote.visibility !== 'public'" class="visibility">
<i v-if="appearNote.visibility === 'home'" class="fas fa-home"></i>
<i v-else-if="appearNote.visibility === 'followers'" class="fas fa-unlock"></i>
@ -1017,12 +1015,6 @@ export default defineComponent({
border: solid 0.5px var(--divider);
border-radius: 4px;
}
> .admin,
> .moderator {
margin-right: 0.5em;
color: var(--badge);
}
}
}
}

View File

@ -5,8 +5,6 @@
</MkA>
<div v-if="note.user.isBot" class="is-bot">bot</div>
<div class="username"><MkAcct :user="note.user"/></div>
<div v-if="note.user.isAdmin" class="admin"><i class="fas fa-bookmark"></i></div>
<div v-if="!note.user.isAdmin && note.user.isModerator" class="moderator"><i class="far fa-bookmark"></i></div>
<div class="info">
<MkA class="created-at" :to="notePage(note)">
<MkTime :time="note.createdAt"/>
@ -79,13 +77,6 @@ export default defineComponent({
border-radius: 3px;
}
> .admin,
> .moderator {
flex-shrink: 0;
margin-right: 0.5em;
color: var(--badge);
}
> .username {
flex-shrink: 9999999;
margin: 0 .5em 0 0;

View File

@ -5,8 +5,6 @@
</MkA>
<span v-if="note.user.isBot" class="is-bot">bot</span>
<span class="username"><MkAcct :user="note.user"/></span>
<span v-if="note.user.isAdmin" class="admin"><i class="fas fa-bookmark"></i></span>
<span v-if="!note.user.isAdmin && note.user.isModerator" class="moderator"><i class="far fa-bookmark"></i></span>
<div class="info">
<MkA class="created-at" :to="notePage(note)">
<MkTime :time="note.createdAt"/>
@ -79,12 +77,6 @@ export default defineComponent({
border-radius: 3px;
}
> .admin,
> .moderator {
margin-right: 0.5em;
color: var(--badge);
}
> .username {
margin: 0 .5em 0 0;
overflow: hidden;