小编Wer*_*ika的帖子

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

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

我尝试使用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)

javascript class word-wrap vue.js vuetify.js

6
推荐指数
1
解决办法
5781
查看次数

标签 统计

class ×1

javascript ×1

vue.js ×1

vuetify.js ×1

word-wrap ×1