{
const rect = $event.target.getBoundingClientRect();
const newy = rect.top + window.scrollY;
window.scrollTo({
top: newy - oldrect.top,
behavior: 'auto'
});
});" class="cursor-pointer hover:text-violet-600 dark:hover:text-violet-300" :class="expanded || !hasComments ? 'hidden' : ''">
...
{
const rect = $event.target.getBoundingClientRect();
const newy = rect.top + window.scrollY;
window.scrollTo({
top: newy - oldrect.top,
behavior: 'auto'
});
});
}" class="flex items-center justify-end rounded-full py-1 text-zinc-400 dark:text-zinc-500 hover:text-zinc-600 dark:hover:text-zinc-300 hover:bg-zinc-100 dark:hover:bg-zinc-800 transition focus:outline-none group-hover:visible group-hover:w-fit group-hover:px-1 z-50 cursor-pointer" :class="expanded ? "w-fit px-1 md:px-0 md:invisible md:w-0" : "invisible w-0"">
{
const rect = $event.target.getBoundingClientRect();
const newy = rect.top + window.scrollY;
window.scrollTo({
top: newy - oldrect.top,
behavior: 'auto'
});
});" class="cursor-pointer hover:text-violet-600 dark:hover:text-violet-300">
__paragraph__.
__reactionsHtml__
__commentsHtml__