ui: add hover indicator for post elements (#89)

This commit is contained in:
Shinigami 2022-11-25 14:21:42 +01:00 committed by GitHub
parent c2810fd5eb
commit d71f5b6420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -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>