1
0
elk/components/status/StatusBody.vue
2022-11-21 05:21:53 +08:00

34 lines
540 B
Vue

<script setup lang="ts">
import type { Status } from 'masto'
const { status } = defineProps<{
status: Status
}>()
</script>
<template>
<div class="status-body">
<CommonRichContent :content="status.content" />
</div>
</template>
<style lang="postcss">
.status-body {
a {
--at-apply: text-primary hover:underline;
.invisible {
--at-apply: hidden;
}
.ellipsis {
--at-apply: truncate overflow-hidden ws-nowrap;
}
}
b {
--at-apply: font-bold;
}
p {
--at-apply: my-2;
}
}
</style>