gpt4 book ai didi

javascript - 当类文本换行不起作用时,如何在 Vuetify 中将文本换行到下一行?

转载 作者:行者123 更新时间:2023-12-05 00:36:27 25 4
gpt4 key购买 nike

我有切断单词的卡片,将它们移到新行:
enter image description here
我尝试使用 class="text-wrap" ,但它不起作用:

  <div>
<v-card max-width="1000" elevation="6">
<div class="mb-8 text-wrap">
<v-sheet dark color="grey darken-2" class="text-wrap">
<v-card-title
color="grey darken-2 white--text"
class="d-block font-weight-regular text-wrap">
{{ label }}
</v-card-title>
</v-sheet>
</div>
</v-card>
</div>

最佳答案

感谢@Chin.Udara 解决方案是:<v-card-title style="word-break: break-word"...

关于javascript - 当类文本换行不起作用时,如何在 Vuetify 中将文本换行到下一行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67889180/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com