Tweak diagnostic header styling
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
e04e929010
commit
cefb63936d
6 changed files with 10 additions and 6 deletions
|
@ -745,7 +745,7 @@ fn diagnostic_header_renderer(
|
|||
}))
|
||||
.contained()
|
||||
.with_style(style.container)
|
||||
.with_padding_left(cx.gutter_width - cx.gutter_padding - icon_width)
|
||||
.with_padding_left(cx.gutter_padding)
|
||||
.expanded()
|
||||
.named("diagnostic header")
|
||||
})
|
||||
|
@ -1254,6 +1254,7 @@ mod tests {
|
|||
anchor_x: 0.,
|
||||
gutter_padding: 0.,
|
||||
gutter_width: 0.,
|
||||
line_height: 0.,
|
||||
em_width: 0.,
|
||||
})
|
||||
.name()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue