fix(ui): transparent problem
This commit is contained in:
parent
531aa6101a
commit
468be3f0fe
@ -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);
|
||||||
|
@ -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>
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user