Files
AstralRinth/theseus_gui/src/pages/project/Description.vue
Adrian O.V c6e2133e15 Search UI improvements (#107)
* Base impl

* Make project type selectable

* Update Browse.vue

* address changes

* Quick create

* Run linter

* fix merge

* Addressed changes

* Installation improvements

* Run lint

* resourcepacks

* automatic installation of dependencies

* Fix bugs with search

* Addressed changes

* Run linter

* Fixed direct install not working

* Remove back to search

* Update Index.vue

* Addressed some changes

* Shader fix

* fix resetting

* Update Browse.vue

* Direct install from search

* More improvements

* Update SearchCard.vue

* Card V2

* Run linter

* add instance ignoring

* Update Browse.vue

* Finalize changes

* Update SearchCard.vue

* More adjustments

* Fix out of order rendering

* Run linter

* Fix issues

* Add unlisteners

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
2023-05-16 19:25:00 -07:00

38 lines
539 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(hr),
:deep(h1),
:deep(h2) {
max-width: max(60rem, 90%);
}
:deep(ul),
:deep(ol) {
margin-left: 2rem;
}
}
</style>