summaryrefslogtreecommitdiff
path: root/packages/frontend/src/ui/_common_/notification.vue
blob: 06dfcb0a2393d3eb0d4dd56b26b98002b2fe35cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<template>
<div :class="$style.root">
	<XNotification :notification="notification" class="notification _acrylic" :full="false"/>
</div>
</template>

<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
import XNotification from '@/components/MkNotification.vue';

defineProps<{
	notification: misskey.entities.Notification;
}>();
</script>

<style lang="scss" module>
.root {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	border-radius: 8px;
	overflow: clip;
	contain: content;
}
</style>