Fix: SingleLineなMFMが折り返されてしまう (#5109)

This commit is contained in:
MeiMei 2019-07-05 21:47:18 +09:00 committed by syuilo
parent af583d2ef6
commit 87a6ef0581
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<mfm-core v-bind="$attrs" class="havbbuyv" v-once/> <mfm-core v-bind="$attrs" class="havbbuyv" :class="{ plain: $attrs['plain-text'] }" v-once/>
</template> </template>
<script lang="ts"> <script lang="ts">
@ -17,6 +17,9 @@ export default Vue.extend({
.havbbuyv .havbbuyv
white-space pre-wrap white-space pre-wrap
&.plain
white-space pre
>>> .title >>> .title
display block display block
margin-bottom 4px margin-bottom 4px