onboarding: Adjust page layout (#36112)

Fix max-height and make it scrollable as well, if needed.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-08-13 10:35:47 -03:00 committed by GitHub
parent 2b3dbe8815
commit abde7306e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)),
),
)