Set white-space: pre-wrap on item content

This commit is contained in:
Peter Stuifzand 2019-08-12 19:35:26 +02:00
parent 48e727b2eb
commit 63fc43fb27

View File

@ -27,7 +27,7 @@
</div>
<h3 class="title is-6" v-if="currentItem.name" v-text="currentItem.name"></h3>
<div class="content" v-html="main_content"></div>
<div class="content is-pre" v-html="main_content"></div>
<div class="photos">
<div class="photo" v-for="photo in photo_rest" :key="photo">
@ -286,4 +286,7 @@
grid-template-columns: repeat(3, 1fr);
grid-gap: 4px;
}
.is-pre {
white-space: pre-wrap;
}
</style>