Fix tooltip placement

This commit is contained in:
N-Pex 2025-05-28 09:49:12 +02:00
parent 37fce18df8
commit cfabd8be08
3 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
:key="name" :key="name"
v-show="showAllReaction || index < REACTION_LIMIT" v-show="showAllReaction || index < REACTION_LIMIT"
> >
<v-tooltip top v-if="value.includes($matrix.currentUserId)"> <v-tooltip location="top" v-if="value.includes($matrix.currentUserId)">
<template v-slot:activator="{ props }"> <template v-slot:activator="{ props }">
<v-chip <v-chip
class="pa-2 ma-1 ml-0" class="pa-2 ma-1 ml-0"
@ -38,7 +38,7 @@
> >
{{ otherReactionText }} {{ otherReactionText }}
</v-chip> </v-chip>
<v-tooltip top v-if="!!totalReaction"> <v-tooltip location="top" v-if="!!totalReaction">
<template v-slot:activator="{ props }"> <template v-slot:activator="{ props }">
<v-chip <v-chip
variant="outlined" variant="outlined"

View file

@ -1,7 +1,7 @@
<template> <template>
<div> <div>
<div class="seen-by-container"> <div class="seen-by-container">
<v-tooltip top open-delay="500" v-if="seenBy.length > 0"> <v-tooltip location="top" open-delay="500" v-if="seenBy.length > 0">
<template v-slot:activator="{ props }"> <template v-slot:activator="{ props }">
<div v-bind="props" class="clickable"> <div v-bind="props" class="clickable">
<div class="more" v-if="seenBy.length > 0">{{ moreItems }}</div> <div class="more" v-if="seenBy.length > 0">{{ moreItems }}</div>

View file

@ -6,7 +6,7 @@
:key="name" :key="name"
v-show="name == '❤️'" v-show="name == '❤️'"
> >
<v-tooltip top v-if="value.includes($matrix.currentUserId)"> <v-tooltip location="top" v-if="value.includes($matrix.currentUserId)">
<template v-slot:activator="{ props }"> <template v-slot:activator="{ props }">
<v-icon class="ma-1 ml-0 clickable" v-bind="props" @click="onClickEmoji(name)" color="#ff3300">$vuetify.icons.ic_like_filled</v-icon> <v-icon class="ma-1 ml-0 clickable" v-bind="props" @click="onClickEmoji(name)" color="#ff3300">$vuetify.icons.ic_like_filled</v-icon>
</template> </template>