You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comprehensive improvements to message block spacing and alignment:
Layout improvements:
- Use parent container gap: 1 for consistent spacing between all blocks
- Remove all conditional margin logic from tool groups and text blocks
- Remove paddingBottom from tool-call-item titles
- Changes AI message metadata alignment from flex-start to flex-end
- Reorders credit display to show credits before completion time
Code quality:
- Add hasTextContent() helper function for cleaner type checking
- Change text content to always use .trim() instead of trimTrailingNewlines
- Skip rendering empty text blocks to prevent phantom spacing
Result: Consistent single-line spacing between all message blocks during
both streaming and completed states, with improved visual alignment.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments