Skip to content

Commit 449d927

Browse files
committed
fix(demo): style
1 parent 19bfcdc commit 449d927

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

demo/src/components/switch_version.rs

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ pub fn SwitchVersion() -> impl IntoView {
88
label: "main".into(),
99
value: "https://thawui.vercel.app".into(),
1010
},
11+
SelectOption {
12+
label: "0.2.6".into(),
13+
value: "https://thaw-mzh1656cm-thaw.vercel.app".into(),
14+
},
1115
SelectOption {
1216
label: "0.2.5".into(),
1317
value: "https://thaw-8og1kv8zs-thaw.vercel.app".into(),

demo/src/pages/home.rs

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

0 commit comments

Comments
 (0)