From f55076ebb758bad2882ae4816a6214d386df6fe2 Mon Sep 17 00:00:00 2001 From: Christopher Biscardi Date: Mon, 8 Jul 2024 11:44:32 -0700 Subject: [PATCH] leptosfmt --- src/app/routes/issue/cards.rs | 66 ++++++++++++++++++++--------------- 1 file changed, 37 insertions(+), 29 deletions(-) diff --git a/src/app/routes/issue/cards.rs b/src/app/routes/issue/cards.rs index e7d021b..bfbd1ae 100644 --- a/src/app/routes/issue/cards.rs +++ b/src/app/routes/issue/cards.rs @@ -18,35 +18,40 @@ pub fn SideBySide(
- { images.is_empty().not().then_some( - view! { -
-
+ {images + .is_empty() + .not() + .then_some( + view! { +
+
- {images - .iter() - .map(|image| { - view! { - &image.description - } - }) - .collect_view()} - -
-
- - })} + {images + .iter() + .map(|image| { + view! { + &image.description + } + }) + .collect_view()} -
+
+
+ }, + )} +

@@ -112,7 +117,6 @@ pub fn SideBySide( // content under description/links

- // technically body content under images
@@ -267,7 +271,11 @@ impl Domain { Domain::Apple => view! { <> Apple - +