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
+1 -2
View File
@@ -761,8 +761,7 @@ html
span.name Bio 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 || '-' }} 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") div(style="margin-top:5px")
el-tooltip(v-for="(link, index) in userDialog.ref.bioLinks" :key="index") el-tooltip(v-if="link" v-for="(link, index) in userDialog.ref.bioLinks" :key="index")
template(v-if="link")
template(#content) template(#content)
span(v-text="link") span(v-text="link")
img(:src="getFaviconUrl(link)" style="width:16px;height:16px;vertical-align:middle;margin-right:5px" @click.stop="openExternalLink(link)") img(:src="getFaviconUrl(link)" style="width:16px;height:16px;vertical-align:middle;margin-right:5px" @click.stop="openExternalLink(link)")