mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-05 00:19:59 +00:00
ui: add hover indicator for post elements (#89)
This commit is contained in:
parent
c2810fd5eb
commit
d71f5b6420
4 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ const accountHandle = $(useAccountHandle(account, fullServer))
|
|||
</NuxtLink>
|
||||
</div>
|
||||
<NuxtLink flex flex-col :to="link ? getAccountPath(account) : null">
|
||||
<ContentRichSetup font-bold :content="getDisplayName(account)" :emojis="account.emojis" />
|
||||
<ContentRichSetup font-bold hover:underline :content="getDisplayName(account)" :emojis="account.emojis" />
|
||||
<p op35 text-sm>
|
||||
{{ accountHandle }}
|
||||
</p>
|
||||
|
|
|
@ -10,6 +10,6 @@ const { link = true } = defineProps<{
|
|||
<template>
|
||||
<NuxtLink :to="link ? getAccountPath(account) : undefined" min-w-0 flex gap-1 items-center>
|
||||
<AccountAvatar :account="account" w-5 h-5 hover />
|
||||
<ContentRichSetup :content="getDisplayName(account)" :emojis="account.emojis" />
|
||||
<ContentRichSetup hover:underline :content="getDisplayName(account)" :emojis="account.emojis" />
|
||||
</NuxtLink>
|
||||
</template>
|
||||
|
|
|
@ -14,7 +14,7 @@ const accountHandle = $(useAccountHandle(account))
|
|||
:to="link ? getAccountPath(account) : undefined"
|
||||
flex="~ col" min-w-0 md:flex="~ row gap-2" md:items-center
|
||||
>
|
||||
<ContentRichSetup font-bold break-words :content="getDisplayName(account)" :emojis="account.emojis" />
|
||||
<ContentRichSetup font-bold break-words hover:underline :content="getDisplayName(account)" :emojis="account.emojis" />
|
||||
<p op35 text-sm>
|
||||
{{ accountHandle }}
|
||||
</p>
|
||||
|
|
|
@ -83,7 +83,7 @@ const timeago = useTimeAgo(() => status.createdAt, {
|
|||
<StatusAccountDetails :account="status.account" />
|
||||
<div flex-auto />
|
||||
<CommonTooltip :content="createdAt">
|
||||
<div text-sm op50 :title="status.createdAt">
|
||||
<div text-sm op50 hover:underline :title="status.createdAt">
|
||||
{{ timeago }}
|
||||
</div>
|
||||
</CommonTooltip>
|
||||
|
|
Loading…
Reference in a new issue