Center text on welcome screen (#3699)

This PR centers the text "Code at the speed of thought" on the welcome
screen.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2023-12-18 13:35:05 -05:00 committed by GitHub
parent 0aa690f915
commit 98f5a3d544
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,11 @@ impl Render for WelcomePage {
.h(px(96.))
.mx_auto(),
)
.child(Label::new("Code at the speed of thought"))
.child(
h_stack()
.justify_center()
.child(Label::new("Code at the speed of thought")),
)
.child(
v_stack()
.gap_2()