Fix bio link tooltip

This commit is contained in:
Natsumi
2020-12-16 22:31:31 +13:00
committed by pypy
parent dc48459b0a
commit 8a0a25309f

View File

@@ -761,11 +761,10 @@ html
span.name Bio
pre.extra(style="font-family:inherit;font-size:12px;white-space:pre-wrap;margin:0 0.5em 0 0") {{ userDialog.ref.bio || '-' }}
div(style="margin-top:5px")
el-tooltip(v-for="(link, index) in userDialog.ref.bioLinks" :key="index")
template(v-if="link")
template(#content)
span(v-text="link")
img(:src="getFaviconUrl(link)" style="width:16px;height:16px;vertical-align:middle;margin-right:5px" @click.stop="openExternalLink(link)")
el-tooltip(v-if="link" v-for="(link, index) in userDialog.ref.bioLinks" :key="index")
template(#content)
span(v-text="link")
img(:src="getFaviconUrl(link)" style="width:16px;height:16px;vertical-align:middle;margin-right:5px" @click.stop="openExternalLink(link)")
.x-friend-item
.detail
span.name Avatar Copying