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:
parent
2b3dbe8815
commit
abde7306e3
1 changed files with 4 additions and 1 deletions
|
@ -551,6 +551,7 @@ impl Render for Onboarding {
|
||||||
.child(
|
.child(
|
||||||
h_flex()
|
h_flex()
|
||||||
.max_w(rems_from_px(1100.))
|
.max_w(rems_from_px(1100.))
|
||||||
|
.max_h(rems_from_px(850.))
|
||||||
.size_full()
|
.size_full()
|
||||||
.m_auto()
|
.m_auto()
|
||||||
.py_20()
|
.py_20()
|
||||||
|
@ -560,12 +561,14 @@ impl Render for Onboarding {
|
||||||
.child(self.render_nav(window, cx))
|
.child(self.render_nav(window, cx))
|
||||||
.child(
|
.child(
|
||||||
v_flex()
|
v_flex()
|
||||||
|
.id("page-content")
|
||||||
|
.size_full()
|
||||||
.max_w_full()
|
.max_w_full()
|
||||||
.min_w_0()
|
.min_w_0()
|
||||||
.pl_12()
|
.pl_12()
|
||||||
.border_l_1()
|
.border_l_1()
|
||||||
.border_color(cx.theme().colors().border_variant.opacity(0.5))
|
.border_color(cx.theme().colors().border_variant.opacity(0.5))
|
||||||
.size_full()
|
.overflow_y_scroll()
|
||||||
.child(self.render_page(window, cx)),
|
.child(self.render_page(window, cx)),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue