mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
589 B
589 B
Body Style
Setting body-style is sometimes useful.
<n-tooltip :body-style="{ maxWidth: '400px' }" trigger="click">
<template v-slot:trigger>
<n-button> California Girls </n-button>
</template>
I wish they all could be California girls. I wish they all could be California
girls. I wish they all could be California girls.
</n-tooltip>
<n-tooltip :body-style="{ maxWidth: '400px' }" trigger="click">
<template v-slot:trigger>
<n-button> California Girls </n-button>
</template>
I wish ...
</n-tooltip>
.n-button {
margin: 0 12px 8px 0;
}