refactor: ♻️ Redesign note UI

This commit is contained in:
Jesse Wierzbinski 2025-12-09 23:26:59 +01:00
parent 3627ac0ef8
commit 35f72e6197
No known key found for this signature in database
7 changed files with 77 additions and 127 deletions

View file

@ -1,5 +1,5 @@
<template>
<div class="flex flex-row gap-2 flex-wrap">
<div class="flex flex-row gap-1 flex-wrap">
<Reaction
v-for="reaction in reactions"
:key="reaction.name"

View file

@ -13,9 +13,9 @@
v-if="emoji"
:src="emoji.url"
:alt="emoji.shortcode"
class="h-[1lh] align-middle inline not-prose"
class="h-lh align-middle inline not-prose"
>
<span v-else> {{ reaction.name }}</span>
<span v-else>{{ reaction.name }}</span>
{{ formatNumber(reaction.count) }}
</Button>
</HoverCardTrigger>