🎨
This commit is contained in:
		| @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only | ||||
|  | ||||
| <template> | ||||
| <header :class="$style.root"> | ||||
| 	<MkCondensedLine :minScale="0" style="min-width: 0;"> | ||||
| 	<component :is="defaultStore.state.enableCondensedLine ? 'MkCondensedLine' : 'div'" :minScale="0" style="min-width: 0;"> | ||||
| 		<div style="display: flex; white-space: nowrap; align-items: baseline;"> | ||||
| 			<div v-if="mock" :class="$style.name"> | ||||
| 				<MkUserName :user="note.user"/> | ||||
| @@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only | ||||
| 			<div v-if="note.user.isBot" :class="$style.isBot">bot</div> | ||||
| 			<div :class="$style.username"><MkAcct :user="note.user"/></div> | ||||
| 		</div> | ||||
| 	</MkCondensedLine> | ||||
| 	</component> | ||||
| 	<div v-if="note.user.badgeRoles" :class="$style.badgeRoles"> | ||||
| 		<img v-for="(role, i) in note.user.badgeRoles" :key="i" v-tooltip="role.name" :class="$style.badgeRole" :src="role.iconUrl!"/> | ||||
| 	</div> | ||||
| @@ -44,6 +44,7 @@ import * as Misskey from 'misskey-js'; | ||||
| import { i18n } from '@/i18n.js'; | ||||
| import { notePage } from '@/filters/note.js'; | ||||
| import { userPage } from '@/filters/user.js'; | ||||
| import { defaultStore } from '@/store.js'; | ||||
|  | ||||
| defineProps<{ | ||||
| 	note: Misskey.entities.Note; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo