1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-05 02:09:02 +09:00

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

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