Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

agent_ui: Use `.w_full()` instead of `.size_full()` when rendering markdown tables in lists (#46783)

Kunall Banerjee67183203732f
diff --git a/crates/markdown/src/markdown.rs b/crates/markdown/src/markdown.rs
index a3256907ac4..7bd78320a25 100644
--- a/crates/markdown/src/markdown.rs
+++ b/crates/markdown/src/markdown.rs
@@ -1120,7 +1120,7 @@ impl Element for MarkdownElement {
.when(!self.style.table_columns_min_size, |this| {
this.grid_cols(column_count as u16)
})
- .size_full()
+ .w_full()
.mb_2()
.border(px(1.5))
.border_color(cx.theme().colors().border)