client: Fix style scoping in MkMention #113

Merged
norm merged 1 commit from Michcio/FoundKey-0x7f:fix/mention-style-scoped into main 2022-09-06 13:01:05 +00:00
Showing only changes of commit 6b289915ef - Show all commits

View file

@ -1,5 +1,5 @@
<template>
<MkA v-if="url.startsWith('/')" v-user-preview="canonical" :class="[$style.root, { isMe }]" :to="url" :style="{ background: bgCss }">
<MkA v-if="url.startsWith('/')" v-user-preview="canonical" :class="[$style.root, { [$style.isMe]: isMe }]" :to="url" :style="{ background: bgCss }">
<img :class="$style.icon" :src="`/avatar/@${username}@${host}`" alt="">
<span class="main">
<span class="username">@{{ username }}</span>