Display isAdmin badge
This commit is contained in:
		| @@ -16,6 +16,7 @@ | ||||
| 		<div class="main"> | ||||
| 			<header> | ||||
| 				<router-link class="name" :to="p.user | userPage" v-user-preview="p.user.id">{{ p.user | userName }}</router-link> | ||||
| 				<span class="is-admin" v-if="p.user.isAdmin">admin</span> | ||||
| 				<span class="is-bot" v-if="p.user.isBot">bot</span> | ||||
| 				<span class="is-cat" v-if="p.user.isCat">cat</span> | ||||
| 				<span class="username"><mk-acct :user="p.user"/></span> | ||||
| @@ -431,6 +432,7 @@ root(isDark) | ||||
| 					&:hover | ||||
| 						text-decoration underline | ||||
|  | ||||
| 				> .is-admin | ||||
| 				> .is-bot | ||||
| 				> .is-cat | ||||
| 					margin 0 .5em 0 0 | ||||
| @@ -440,6 +442,10 @@ root(isDark) | ||||
| 					border solid 1px isDark ? #57616f : #ddd | ||||
| 					border-radius 3px | ||||
|  | ||||
| 					&.is-admin | ||||
| 						border-color isDark ? #d42c41 : #f56a7b | ||||
| 						color isDark ? #d42c41 : #f56a7b | ||||
|  | ||||
| 				> .username | ||||
| 					margin 0 .5em 0 0 | ||||
| 					overflow hidden | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo