Made the theme picker sort from dark to light

Added a layer into 'ConstrainedBox' to clip it
's children

Made the welcome experience responsive to small and large sizes
This commit is contained in:
Mikayla Maki 2023-03-06 18:36:18 -08:00
parent 8db7e17ac5
commit 3b31f10c6f
4 changed files with 9 additions and 4 deletions

View file

@ -84,6 +84,7 @@ impl View for WelcomePage {
])
.constrained()
.with_max_width(width)
.contained().with_uniform_padding(10.)
.aligned()
.boxed(),
)
@ -126,7 +127,7 @@ impl WelcomePage {
.contained()
.with_style(style.container)
.constrained()
.with_width(width)
.with_max_width(width)
.boxed()
})
.on_click(MouseButton::Left, move |_, cx| {