I'm making a "reddit clone" and currently my text isn't wrapping, I'm not really sure why as when the title extends, it takes a new line, but not for post.postMarkdown
. Here is my template.
<template>
<div class="home">
<div class="columns">
<div class="column is-three-quarters">
<p class="title">
{{ post.postTitle }}
</p>
<p>
<i>Posted by <a>{{ post.username }}</a></i>
</p>
</div>
<div class="column is-one-quarter right">
<b-button type="is-primary" class="back" @click="backToSubforum">Back to {{ this.$store.state.subforum }}</b-button><br />
<b-button type="is-primary" class="back" @click="backToForum">Back to forums</b-button>
</div>
</div>
<p>{{ post.postMarkdown }}</p>
<hr />
<!--
TODO: Comments
-->
</div>
</template>