diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-14 22:35:15 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-14 22:35:15 +0900 |
| commit | d3b4b70bfc4b86ba283b46b4fb95954450854190 (patch) | |
| tree | e8c54a0e9ff2e51cb663c2d071aba040b541ccb8 /src/client/components | |
| parent | feat(client): ジョブキューウィジェットに警報音を鳴らす設... (diff) | |
| download | sharkey-d3b4b70bfc4b86ba283b46b4fb95954450854190.tar.gz sharkey-d3b4b70bfc4b86ba283b46b4fb95954450854190.tar.bz2 sharkey-d3b4b70bfc4b86ba283b46b4fb95954450854190.zip | |
:art:
Diffstat (limited to 'src/client/components')
| -rw-r--r-- | src/client/components/date-separated-list.vue | 4 | ||||
| -rw-r--r-- | src/client/components/notes.vue | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/src/client/components/date-separated-list.vue b/src/client/components/date-separated-list.vue index 7a4cc5ef98..fa0b6d669c 100644 --- a/src/client/components/date-separated-list.vue +++ b/src/client/components/date-separated-list.vue @@ -93,13 +93,13 @@ export default defineComponent({ }); return h(this.$store.state.animation ? TransitionGroup : 'div', this.$store.state.animation ? { - class: 'sqadhkmv' + (this.noGap ? ' noGap _block' : ''), + class: 'sqadhkmv' + (this.noGap ? ' noGap' : ''), name: 'list', tag: 'div', 'data-direction': this.direction, 'data-reversed': this.reversed ? 'true' : 'false', } : { - class: 'sqadhkmv' + (this.noGap ? ' noGap _block' : ''), + class: 'sqadhkmv' + (this.noGap ? ' noGap' : ''), }, { default: renderChildren }); diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue index e90102921a..560441ba67 100644 --- a/src/client/components/notes.vue +++ b/src/client/components/notes.vue @@ -9,7 +9,7 @@ <div>{{ $ts.noNotes }}</div> </div> - <div v-else> + <div v-else class="giivymft"> <div v-show="more && reversed" style="margin-bottom: var(--margin);"> <MkButton style="margin: 0 auto;" @click="fetchMoreFeature" :disabled="moreFetching" :style="{ cursor: moreFetching ? 'wait' : 'pointer' }"> <template v-if="!moreFetching">{{ $ts.loadMore }}</template> @@ -17,8 +17,8 @@ </MkButton> </div> - <XList ref="notes" :items="notes" v-slot="{ item: note }" :direction="reversed ? 'up' : 'down'" :reversed="reversed" :no-gap="noGap" :ad="true"> - <XNote :note="note" class="_block" @update:note="updated(note, $event)" :key="note._featuredId_ || note._prId_ || note.id"/> + <XList ref="notes" :items="notes" v-slot="{ item: note }" :direction="reversed ? 'up' : 'down'" :reversed="reversed" :no-gap="noGap" :ad="true" class="notes"> + <XNote :note="note" @update:note="updated(note, $event)" :key="note._featuredId_ || note._prId_ || note.id"/> </XList> <div v-show="more && !reversed" style="margin-top: var(--margin);"> @@ -108,4 +108,10 @@ export default defineComponent({ .fade-leave-to { opacity: 0; } + +.giivymft { + > .notes { + background: var(--panel); + } +} </style> |