From acc88825fccb4a6e1eefbbb60e05290b69e60aba Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> Date: Sat, 4 Jul 2020 21:07:45 +0900 Subject: [PATCH] wip --- src/client/components/date-separated-list.vue | 4 ++++ src/client/components/notes.vue | 11 +---------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/client/components/date-separated-list.vue b/src/client/components/date-separated-list.vue index a27e9a05a..5eb005ef6 100644 --- a/src/client/components/date-separated-list.vue +++ b/src/client/components/date-separated-list.vue @@ -69,6 +69,10 @@ export default Vue.extend({ <style lang="scss"> .sqadhkmv { + > *:not(:last-child) { + margin-bottom: var(--margin); + } + > .list-move { transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1); } diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue index e8461fcb8..7653062ba 100644 --- a/src/client/components/notes.vue +++ b/src/client/components/notes.vue @@ -14,7 +14,7 @@ </button> </div> - <x-list ref="notes" class="notes" :items="notes" v-slot="{ item: note }" :direction="reversed ? 'up' : 'down'" :reversed="reversed"> + <x-list ref="notes" :items="notes" v-slot="{ item: note }" :direction="reversed ? 'up' : 'down'" :reversed="reversed"> <x-note :note="note" :detail="detail" :key="note._featuredId_ || note._prId_ || note.id"/> </x-list> @@ -85,12 +85,3 @@ export default Vue.extend({ }); </script> -<style lang="scss" scoped> -.mk-notes { - > .notes { - > ::v-deep *:not(:last-child) { - margin-bottom: var(--margin); - } - } -} -</style>