Add red background to blocks that need styling
This commit is contained in:
parent
0b8ec5372b
commit
7f5014b34a
2 changed files with 10 additions and 2 deletions
|
@ -9974,6 +9974,8 @@ pub fn diagnostic_block_renderer(diagnostic: Diagnostic, is_valid: bool) -> Rend
|
|||
let message = message.clone();
|
||||
v_stack()
|
||||
.id(cx.block_id)
|
||||
.size_full()
|
||||
.bg(gpui::red())
|
||||
.children(highlighted_lines.iter().map(|(line, highlights)| {
|
||||
div()
|
||||
.child(HighlightedLabel::new(line.clone(), highlights.clone()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue