Allow styling the container of markdown elements (#43107)

Closes #43033

Release Notes:

- FIxed an issue where the padding on info popovers would overlay text
when the content was scrollable.
This commit is contained in:
Finn Evers
2025-11-19 23:40:54 +00:00
committed by GitHub
parent f2f40a5099
commit 1fab43d467
2 changed files with 21 additions and 4 deletions
+2 -2
View File
@@ -893,7 +893,6 @@ impl InfoPopover {
*keyboard_grace = false;
cx.stop_propagation();
})
.p_2()
.when_some(self.parsed_content.clone(), |this, markdown| {
this.child(
div()
@@ -909,7 +908,8 @@ impl InfoPopover {
copy_button_on_hover: false,
border: false,
})
.on_url_click(open_markdown_url),
.on_url_click(open_markdown_url)
.p_2(),
),
)
.custom_scrollbars(