Skip to content

Remove MessageAvatar from assistant chat messages#2343

Open
gary149 wants to merge 1 commit into
mainfrom
claude/youthful-ptolemy-9u2xpg
Open

Remove MessageAvatar from assistant chat messages#2343
gary149 wants to merge 1 commit into
mainfrom
claude/youthful-ptolemy-9u2xpg

Conversation

@gary149

@gary149 gary149 commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Removes the MessageAvatar component from assistant chat messages in the ChatMessage component, simplifying the message layout.

Changes

  • Removed the MessageAvatar import from ChatMessage.svelte
  • Removed the MessageAvatar component instance that was displayed next to assistant messages
  • Removed the gap-4 class from the message container (no longer needed without the avatar)
  • Simplified the message info positioning by removing the responsive lg:pl-7 padding class, keeping only pl-1

Details

The MessageAvatar component was previously rendered with a fixed size (3.5), hidden on mobile (max-sm:hidden), and animated when the message was loading. Its removal streamlines the assistant message UI and reduces visual clutter in the chat interface.

https://claude.ai/code/session_01PUgSZpGaYWjGiZjRyFKYQS

Drop the animated MessageAvatar from assistant messages along with the
flex gap that formed its column, and the lg:pl-7 offset on the metadata
row that compensated for it. The MessageAvatar component file is kept
for easy revert.

https://claude.ai/code/session_01PUgSZpGaYWjGiZjRyFKYQS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants