diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-16 15:21:58 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-16 15:21:58 +0900 |
| commit | 73ce1f61a833393c4e709d44b374aa5a4715384a (patch) | |
| tree | b873fbf99e2a9d246c456d4efc30bae294a3f4d9 /src/client/components/notes.vue | |
| parent | Renoteされた時刻が投稿された時刻のように表示される問... (diff) | |
| download | misskey-73ce1f61a833393c4e709d44b374aa5a4715384a.tar.gz misskey-73ce1f61a833393c4e709d44b374aa5a4715384a.tar.bz2 misskey-73ce1f61a833393c4e709d44b374aa5a4715384a.zip | |
Tweak client style
Diffstat (limited to 'src/client/components/notes.vue')
| -rw-r--r-- | src/client/components/notes.vue | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue index 560441ba67..ba3b7d2b39 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 class="giivymft"> + <div v-else class="giivymft" :class="{ noGap }"> <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> @@ -18,7 +18,7 @@ </div> <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"/> + <XNote class="qtqtichx" :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);"> @@ -110,8 +110,19 @@ export default defineComponent({ } .giivymft { - > .notes { - background: var(--panel); + &.noGap { + > .notes { + background: var(--panel); + } + } + + &:not(.noGap) { + > .notes { + .qtqtichx { + background: var(--panel); + border-radius: var(--radius); + } + } } } </style> |