网站名称添加悬浮显示全部

This commit is contained in:
Jason
2022-09-15 18:55:45 +08:00
parent 79749e28ea
commit 7adcc9bd60
2 changed files with 32 additions and 5 deletions

View File

@@ -8,7 +8,13 @@
:class="{ 'text-white': theme == ThemeEnum.DARK }"
:style="{ left: `${szie + 16}px` }"
>
{{ title || config.webName }}
<overflow-tooltip
:content="title || config.webName"
:teleported="true"
placement="bottom"
overflo-type="unset"
>
</overflow-tooltip>
</div>
</transition>
</div>