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.

Outline workspace

Nate Butlere7760e1a3ff3
diff --git a/crates/storybook/src/collab_panel.rs b/crates/storybook/src/collab_panel.rs
index 8530f95f3ce..8fa84766449 100644
--- a/crates/storybook/src/collab_panel.rs
+++ b/crates/storybook/src/collab_panel.rs
@@ -23,7 +23,7 @@ impl<V: 'static> CollabPanelElement<V> {
// Panel
div()
- .w_96()
+ .w_64()
.flex()
.flex_col()
.font("Zed Sans Extended")
diff --git a/crates/storybook/src/workspace.rs b/crates/storybook/src/workspace.rs
index 17c0877339e..ecdfcd4def8 100644
--- a/crates/storybook/src/workspace.rs
+++ b/crates/storybook/src/workspace.rs
@@ -425,9 +425,11 @@ impl WorkspaceElement {
)
.child(
div()
+ .flex()
.flex_1()
- .fill(theme.lowest.warning.default.background)
- .child(collab_panel()),
+ .child(collab_panel())
+ .child(div().flex_1().fill(theme.lowest.accent.default.background))
+ .child(div().w_64().fill(theme.lowest.positive.default.background)),
)
.child(
div()