fix(ui): transparent problem
This commit is contained in:
parent
531aa6101a
commit
468be3f0fe
@ -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);
|
||||
|
@ -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>
|
||||
|
@ -373,7 +373,7 @@ definePageMetadata(() => ({
|
||||
}
|
||||
|
||||
.tl {
|
||||
background: var(--bg);
|
||||
// background: var(--bg);
|
||||
border-radius: var(--radius);
|
||||
overflow: clip;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user