Fix long git author names/emails overflowing blame tooltip (#10605)

This fixes https://github.com/zed-industries/zed/issues/10581.

Release Notes:

- N/A

Co-authored-by: Bennet <bennetbo@gmx.de>
This commit is contained in:
Thorsten Ball 2024-04-16 12:03:45 +02:00 committed by GitHub
parent 08aef198d5
commit 4d8cba2add
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3101,7 +3101,9 @@ impl Render for BlameEntryTooltip {
.gap_4()
.child(
h_flex()
.gap_2()
.gap_x_2()
.overflow_x_hidden()
.flex_wrap()
.child(author)
.when_some(author_email, |this, author_email| {
this.child(