Files
AstralRinth/theseus_gui/src/pages/project/Description.vue
Geometrically 1e78a7b6a8 Analytics + more bug fixes (#144)
* Analytics + more bug fixes

* debug deadlock

* Fix mostly everything

* merge fixes

* fix rest

* final fixeS
2023-06-19 14:59:06 -07:00

42 lines
578 B
Vue

<template>
<Card>
<div class="markdown-body" v-html="renderHighlightedString(project?.body ?? '')" />
</Card>
</template>
<script setup>
import { Card, renderHighlightedString } from 'omorphia'
defineProps({
project: {
type: Object,
default: () => {},
},
})
</script>
<script>
export default {
name: 'Description',
}
</script>
<style scoped lang="scss">
.markdown-body {
:deep(table) {
width: auto;
}
:deep(hr),
:deep(h1),
:deep(h2) {
max-width: max(60rem, 90%);
}
:deep(ul),
:deep(ol) {
margin-left: 2rem;
}
}
</style>