Set white-space: pre-wrap on item content
This commit is contained in:
parent
48e727b2eb
commit
63fc43fb27
|
@ -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>
|
Loading…
Reference in New Issue
Block a user