修复测试用例区域温馨提醒 tooltip 不换行
n-tooltip 的内容容器默认按内容宽度撑开(naive-ui 没有设默认 max-width/ white-space),SQL 提示文案变长后整段挤成一条超宽横线。加 max-width 约束 宽度使其正常换行。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -791,7 +791,7 @@ watch(
|
||||
</n-button>
|
||||
</n-upload>
|
||||
</div>
|
||||
<n-tooltip placement="right">
|
||||
<n-tooltip placement="right" style="max-width: 320px; white-space: normal">
|
||||
<template #trigger>
|
||||
<n-button text>温馨提醒</n-button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user