Fix scrolling and wrapping in the markdown preview renderer (#7234)

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-02-01 09:07:01 -08:00 committed by GitHub
parent 97be0a930c
commit d4264cbe4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -174,7 +174,7 @@ where
}
let element = self.render_md_from_range(source_range.clone(), cx);
let paragraph = h_flex().mb_3().child(element);
let paragraph = div().mb_3().child(element);
self.finished.push(paragraph);
}