fix(demo): style

This commit is contained in:
luoxiao 2024-04-05 23:53:46 +08:00
parent 19bfcdc60f
commit 449d927c3a
2 changed files with 5 additions and 1 deletions

View file

@ -8,6 +8,10 @@ pub fn SwitchVersion() -> impl IntoView {
label: "main".into(),
value: "https://thawui.vercel.app".into(),
},
SelectOption {
label: "0.2.6".into(),
value: "https://thaw-mzh1656cm-thaw.vercel.app".into(),
},
SelectOption {
label: "0.2.5".into(),
value: "https://thaw-8og1kv8zs-thaw.vercel.app".into(),

View file

@ -13,7 +13,7 @@ pub fn Home() -> impl IntoView {
view! {
<Layout
position=LayoutPosition::Absolute
style="display: flex; align-items: center; justify-content: center; flex-direction: column;"
content_style="display: flex; align-items: center; justify-content: center; flex-direction: column;"
>
<h1 style="font-size: 80px; line-height: 1;margin: 0 0 18px;">"Thaw UI"</h1>
<p>"An easy to use leptos component library"</p>