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.

Fix workspace sizing (#3617)

Marshall Bowers573377d9f93f
diff --git a/crates/workspace2/src/workspace2.rs b/crates/workspace2/src/workspace2.rs
index 17ee4ca8fc9..a7dc76f41da 100644
--- a/crates/workspace2/src/workspace2.rs
+++ b/crates/workspace2/src/workspace2.rs
@@ -3627,6 +3627,7 @@ impl Render for Workspace {
.flex_1()
.w_full()
.flex()
+ .flex_col()
.overflow_hidden()
.border_t()
.border_b()
@@ -3667,7 +3668,6 @@ impl Render for Workspace {
div()
.flex()
.flex_row()
- .flex_1()
.h_full()
// Left Dock
.child(
@@ -3683,6 +3683,7 @@ impl Render for Workspace {
.flex()
.flex_col()
.flex_1()
+ .overflow_hidden()
.child(self.center.render(
&self.project,
&self.follower_states,