mirror of
https://github.com/VueTubeApp/VueTube
synced 2024-11-05 03:05:03 +00:00
25 lines
458 B
Vue
25 lines
458 B
Vue
<template>
|
|
<div class="description" v-if="render.descriptionBodyText">
|
|
<yt-text-formatter :textRuns="render.descriptionBodyText.runs">
|
|
</yt-text-formatter>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.description {
|
|
white-space: pre-line;
|
|
font-size: 0.9rem;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
import YtTextFormatter from "~/components/UtilRenderers/YtTextFormatter.vue";
|
|
|
|
export default {
|
|
props: ["render"],
|
|
|
|
components: {
|
|
YtTextFormatter,
|
|
},
|
|
};
|
|
</script>
|