Fix: SingleLineなMFMが折り返されてしまう (#5109)
This commit is contained in:
parent
af583d2ef6
commit
87a6ef0581
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue