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

Wer*_*ika 6 javascript class word-wrap vue.js vuetify.js

我有一些卡片可以切断单词,将它们移动到新的一行: 在此输入图像描述

我尝试使用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>
Run Code Online (Sandbox Code Playgroud)

Wer*_*ika 8

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