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>
.root {
// &.noGap {
// > .notes {
// background: var(--panel);
// }
// }
&.noGap {
> .notes {
background: var(--panel);
}
}
&:not(.noGap) {
> .notes {
// background: var(--bg);
background: var(--bg);
.note {
background: var(--panel);

View File

@ -16,7 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template #default="{ items: notifications }">
<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"/>
<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>
</template>
</MkPagination>

View File

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