【发布时间】:2021-11-10 04:20:33
【问题描述】:
我正在创建一个在单击或悬停图标时出现的工具提示;我在工具提示中使用了 v-card:
<v-tooltip bottom min-width="15%">
<template v-slot:activator="{ on, attrs }">
<v-icon small
v-bind="attrs"
v-on="on">
mdi-information
</v-icon>
</template>
<v-card flat height="100%" width="100%" class="ma-0 pa-0">
<v-card-text>
Tooltip Text is here
</v-card-text>
</v-card>
</v-tooltip>
v-card 没有完全填满工具提示。如何让 v-card 填满整个工具提示?
【问题讨论】:
标签: vue.js vuetify.js