Fix rendering of diagnostic blocks
- Distinct colors to make it not confusing - Avoid overflowing the edge of the editor when the message is long
This commit is contained in:
parent
db22babe2a
commit
450cf9dd06
4 changed files with 16 additions and 9 deletions
|
@ -1603,6 +1603,7 @@ mod tests {
|
|||
gutter_width: px(0.),
|
||||
line_height: px(0.),
|
||||
em_width: px(0.),
|
||||
max_width: px(0.),
|
||||
block_id: ix,
|
||||
view: editor_view,
|
||||
editor_style: &editor::EditorStyle::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue