refactor: 💄 Update card and action button padding
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 1s
Deploy to GitHub Pages / build (push) Failing after 2s
Docker / build (push) Failing after 0s
Deploy to GitHub Pages / deploy (push) Has been skipped
Mirror to Codeberg / Mirror (push) Failing after 0s

This commit is contained in:
Jesse Wierzbinski 2025-06-18 19:55:56 +02:00
parent cf15ff11bf
commit 00b6783ae0
No known key found for this signature in database
8 changed files with 9 additions and 9 deletions

View file

@ -1,6 +1,6 @@
<template>
<Button variant="ghost" class="max-w-14 w-full">
<component :is="icon" class="size-4.5" />
<Button variant="ghost" class="max-w-14 w-full" size="sm">
<component :is="icon" class="size-4" />
<slot />
</Button>
</template>

View file

@ -1,5 +1,5 @@
<template>
<div class="flex flex-row w-full gap-x-4 items-stretch justify-start">
<div class="flex flex-row w-full max-w-sm items-stretch justify-between">
<ActionButton :icon="Reply" @click="emit('reply')" :title="m.drab_tense_turtle_comfort()" :disabled="!identity">
{{ numberFormat(replyCount) }}
</ActionButton>

View file

@ -33,7 +33,7 @@
<span class="text-muted-foreground ml-auto tracking-normal" :title="fullTime">{{ timeAgo }}</span>
</span>
</div>
<div class="flex flex-col gap-1 justify-center items-end" v-if="!smallLayout">
<div class="flex flex-col gap-1 h-full justify-center items-end" v-if="!smallLayout">
<NuxtLink :href="noteUrlAsPath" class="text-xs text-muted-foreground"
:title="visibilities[visibility].text">
<component :is="visibilities[visibility].icon" class="size-4" />

View file

@ -1,5 +1,5 @@
<template>
<Card as="article" class="relative gap-4 items-stretch">
<Card as="article" class="relative gap-3 items-stretch">
<CardHeader as="header" class="space-y-2">
<ReblogHeader
v-if="note.reblog"