Skip to content

Commit

Permalink
polish embed author
Browse files Browse the repository at this point in the history
  • Loading branch information
jay3332 committed Dec 14, 2023
1 parent 33038b9 commit 7d3c9cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/messaging/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ export function MessageContent(props: { message: Message, largePadding?: boolean
classList={{
"flex items-center text-fg/70 font-normal": true,
"hover:underline underline-offset-2": !!embed.author!.url,
"mb-0.5": !!embed.author!.icon_url,
"mb-0.5": !!embed.author!.icon_url && !embed.title,
"mb-1.5": !embed.title,
}}
href={embed.author!.url}
target="_blank"
Expand Down

0 comments on commit 7d3c9cb

Please sign in to comment.