1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-28 23:09:16 +09:00
This commit is contained in:
syuilo 2018-06-21 11:37:18 +09:00
parent 87fc6522fb
commit b54539b647
2 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,7 @@
<!-- トランジションを有効にするとなぜかメモリリークする -->
<!--<transition-group name="mk-notes" class="transition">-->
<div class="notes">
<template v-for="(note, i) in _notes">
<x-note :note="note" :key="note.id" @update:note="onNoteUpdated(i, $event)"/>
<p class="date" :key="note.id + '_date'" v-if="i != notes.length - 1 && note._date != _notes[i + 1]._date">
@ -18,6 +19,7 @@
<span>%fa:angle-down%{{ _notes[i + 1]._datetext }}</span>
</p>
</template>
</div>
<!--</transition-group>-->
<footer v-if="more">
@ -222,6 +224,7 @@ root(isDark)
> *
transition transform .3s ease, opacity .3s ease
> .notes
> .date
display block
margin 0

View File

@ -9,6 +9,7 @@
<!-- トランジションを有効にするとなぜかメモリリークする -->
<!--<transition-group name="mk-notes" class="transition">-->
<div class="notes">
<template v-for="(note, i) in _notes">
<x-note :note="note" :key="note.id" @update:note="onNoteUpdated(i, $event)" :media-view="mediaView"/>
<p class="date" :key="note.id + '_date'" v-if="i != notes.length - 1 && note._date != _notes[i + 1]._date">
@ -16,6 +17,7 @@
<span>%fa:angle-down%{{ _notes[i + 1]._datetext }}</span>
</p>
</template>
</div>
<!--</transition-group>-->
<footer v-if="more">
@ -199,6 +201,7 @@ root(isDark)
> *
transition transform .3s ease, opacity .3s ease
> .notes
> .date
display block
margin 0