Remove MessageAvatar from assistant chat messages#2343
Open
gary149 wants to merge 1 commit into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes the
MessageAvatarcomponent from assistant chat messages in the ChatMessage component, simplifying the message layout.Changes
MessageAvatarimport from ChatMessage.svelteMessageAvatarcomponent instance that was displayed next to assistant messagesgap-4class from the message container (no longer needed without the avatar)lg:pl-7padding class, keeping onlypl-1Details
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