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.

workspace: Improve the welcome and launchpad pages UI (#47072)

Qichen Liu 刘启辰5e2e917a8a5f
diff --git a/crates/workspace/src/welcome.rs b/crates/workspace/src/welcome.rs
index 4d84f3072f8..071bf082679 100644
--- a/crates/workspace/src/welcome.rs
+++ b/crates/workspace/src/welcome.rs
@@ -376,11 +376,11 @@ impl Render for WelcomePage {
.relative()
.size_full()
.px_12()
- .py_40()
.max_w(px(1100.))
.child(
v_flex()
- .size_full()
+ .flex_1()
+ .justify_center()
.max_w_128()
.mx_auto()
.gap_6()