We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c31ef4 commit 3bdd25fCopy full SHA for 3bdd25f
components/Markdown.vue
@@ -1,6 +1,6 @@
1
<template>
2
<!-- eslint-disable vue/no-v-html -->
3
- <div class="prose max-w-full text-justify break-words" v-html="sanitizedDescription" />
+ <div class="prose max-w-none text-justify word-wrap" v-html="sanitizedDescription"/>
4
</template>
5
6
<script setup lang="ts">
@@ -44,5 +44,16 @@ async function sanitizeDescription () {
44
</script>
45
46
<style scoped>
47
+.word-wrap {
48
+ -ms-word-break: break-all;
49
+ word-break: break-all;
50
51
+ /* Non standard for webkit */
52
+ word-break: break-word;
53
+
54
+ -webkit-hyphens: auto;
55
+ -moz-hyphens: auto;
56
+ -ms-hyphens: auto;
57
+ hyphens: auto;
58
+}
59
</style>
0 commit comments