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 center element wrapper size (#10672)

Kirill Bulatov20554d029632
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs
index 7053ba13848..1a0e9cc7408 100644
--- a/crates/workspace/src/workspace.rs
+++ b/crates/workspace/src/workspace.rs
@@ -4061,7 +4061,7 @@ impl Render for Workspace {
.overflow_hidden()
.child(
h_flex()
- .h_full()
+ .flex_1()
.when_some(paddings.0, |this, p| {
this.child(p.border_r_1())
})
diff --git a/docs/src/configuring_zed.md b/docs/src/configuring_zed.md
index 9df7ac3f5db..6424ec1afc3 100644
--- a/docs/src/configuring_zed.md
+++ b/docs/src/configuring_zed.md
@@ -158,7 +158,7 @@ For example, to disable ligatures for a given font you can add the following to
**Options**
The `left_padding` and `right_padding` options define the relative width of the
-left and right padding of the central pane from the workspace when the centered layout mode is activated. Valid values range is from `0` to `0.45`.
+left and right padding of the central pane from the workspace when the centered layout mode is activated. Valid values range is from `0` to `0.4`.
## Copilot