Fix spacing in diagnostics tab (#3844)

This PR fixes the spacing in the diagnostics tab.

#### Before

<img width="108" alt="Screenshot 2024-01-02 at 3 40 51 PM"
src="https://github.com/zed-industries/zed/assets/1486634/9508d867-5b5d-45b0-8b16-be35a23e3e7a">

#### After

<img width="121" alt="Screenshot 2024-01-02 at 3 40 54 PM"
src="https://github.com/zed-industries/zed/assets/1486634/33e665e7-2935-4d4f-b1d0-9cb655235867">

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-01-02 15:51:16 -05:00 committed by GitHub
parent d64d91a321
commit 2b9570e3e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -663,6 +663,7 @@ impl Item for ProjectDiagnosticsEditor {
.when(self.summary.warning_count > 0, |then| {
then.child(
h_stack()
.gap_1()
.child(
IconElement::new(Icon::ExclamationTriangle).color(Color::Warning),
)