More tweaks + fix instance ticker weeeeeeeeeeeeeee

This commit is contained in:
Freeplay 2023-01-04 23:37:22 -05:00
parent 32fc052978
commit 2c700de5d9
1 changed files with 9 additions and 2 deletions

View File

@ -26,10 +26,15 @@
<script lang="ts" setup>
import { } from 'vue';
import type * as misskey from 'calckey-js';
import { defaultStore, noteViewInterruptors } from '@/store';
import MkVisibility from '@/components/MkVisibility.vue';
import MkInstanceTicker from '@/components/MkInstanceTicker.vue';
import { notePage } from '@/filters/note';
import { userPage } from '@/filters/user';
const showTicker = (defaultStore.state.instanceTicker === 'always') || (defaultStore.state.instanceTicker === 'remote' && appearNote.user.instance);
defineProps<{
note: misskey.entities.Note;
pinned?: boolean;
@ -49,13 +54,15 @@ defineProps<{
> .avatar {
width: 3.7em;
height: 3.7em;
margin-right: 8px;
margin-right: 1em;
}
> .user-info {
width: 0;
flex-grow: 1;
line-height: 1.5;
> div {
display: flex;
align-items: center;
}
.name {
flex: 1 1 0px;