fix(ui): transparent problem

This commit is contained in:
オスカー、 2024-07-25 20:36:49 +09:00
parent 531aa6101a
commit 468be3f0fe
Signed by: SWREI
GPG Key ID: 139D6573F92DA9F7
3 changed files with 8 additions and 8 deletions

View File

@ -54,15 +54,15 @@ defineExpose({
<style lang="scss" module> <style lang="scss" module>
.root { .root {
// &.noGap { &.noGap {
// > .notes { > .notes {
// background: var(--panel); background: var(--panel);
// } }
// } }
&:not(.noGap) { &:not(.noGap) {
> .notes { > .notes {
// background: var(--bg); background: var(--bg);
.note { .note {
background: var(--panel); background: var(--panel);

View File

@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #default="{ items: notifications }"> <template #default="{ items: notifications }">
<MkDateSeparatedList v-slot="{ item: notification }" :class="$style.list" :items="notifications" :noGap="true"> <MkDateSeparatedList v-slot="{ item: notification }" :class="$style.list" :items="notifications" :noGap="true">
<MkNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :key="notification.id + ':note'" :note="notification.note"/> <MkNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :key="notification.id + ':note'" :note="notification.note"/>
<XNotification v-else :key="notification.id" :notification="notification" :withTime="true" :full="true" class="_panel"/> <XNotification v-else :key="notification.id" :notification="notification" :withTime="true" :full="true"/>
</MkDateSeparatedList> </MkDateSeparatedList>
</template> </template>
</MkPagination> </MkPagination>

View File

@ -373,7 +373,7 @@ definePageMetadata(() => ({
} }
.tl { .tl {
background: var(--bg); // background: var(--bg);
border-radius: var(--radius); border-radius: var(--radius);
overflow: clip; overflow: clip;
} }