diff --git a/.leptosfmt.toml b/.leptosfmt.toml index ac5be1f..e5b7fa8 100644 --- a/.leptosfmt.toml +++ b/.leptosfmt.toml @@ -1,2 +1,5 @@ max_width = 100 attr_value_brace_style = "WhenRequired" # "Always", "AlwaysUnlessLit", "WhenRequired" or "Preserve" + +[attr_values] +class = "Tailwind" diff --git a/src/frontend/app.rs b/src/frontend/app.rs index 97f7814..066a7ae 100644 --- a/src/frontend/app.rs +++ b/src/frontend/app.rs @@ -66,7 +66,7 @@ impl DefaultResource for Resource { } pub fn shell(options: LeptosOptions) -> impl IntoView { view! { - + diff --git a/src/frontend/components/article_nav.rs b/src/frontend/components/article_nav.rs index 3041506..37b21b3 100644 --- a/src/frontend/components/article_nav.rs +++ b/src/frontend/components/article_nav.rs @@ -86,7 +86,7 @@ pub fn ArticleNav(article: Resource, active_tab: ActiveTab) -> impl
-

+

{title}

diff --git a/src/frontend/components/connect.rs b/src/frontend/components/connect.rs index 7785d2b..8af7c66 100644 --- a/src/frontend/components/connect.rs +++ b/src/frontend/components/connect.rs @@ -26,7 +26,7 @@ where view! {