-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assistant message alignment #177
Conversation
noxware
commented
Jul 25, 2024

@@ -122,6 +122,7 @@ live_design! { | |||
main_section = { | |||
body_section = { | |||
bubble = { | |||
padding: {left: 0, bottom: 0, top: 0} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of bubble spacing is removed for assistant messages. Although the right padding was assumed when placing the jump to bottom button, so that's preserved.
@@ -110,7 +110,7 @@ live_design! { | |||
ChatLineBody = <View> { | |||
width: Fill, | |||
height: Fit, | |||
spacing: 12, | |||
spacing: 20, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an extra adjustment. Without the bubble, 12 as spacing between the assistant name and the message may look to tight, so I added a bit more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!