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.

onboarding: Adjust page layout (#36112)

Danilo Lealabde7306e3a3
diff --git a/crates/onboarding/src/onboarding.rs b/crates/onboarding/src/onboarding.rs
index 7ba7ba60cb2..c86871c9199 100644
--- a/crates/onboarding/src/onboarding.rs
+++ b/crates/onboarding/src/onboarding.rs
@@ -551,6 +551,7 @@ impl Render for Onboarding {
.child(
h_flex()
.max_w(rems_from_px(1100.))
+ .max_h(rems_from_px(850.))
.size_full()
.m_auto()
.py_20()
@@ -560,12 +561,14 @@ impl Render for Onboarding {
.child(self.render_nav(window, cx))
.child(
v_flex()
+ .id("page-content")
+ .size_full()
.max_w_full()
.min_w_0()
.pl_12()
.border_l_1()
.border_color(cx.theme().colors().border_variant.opacity(0.5))
- .size_full()
+ .overflow_y_scroll()
.child(self.render_page(window, cx)),
),
)