From 3ed82a71926ee7d44d466449b0f27425e859325c Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 8 May 2024 02:46:26 +0200 Subject: [PATCH] fix(web): indentation line for activities too --- web/src/components/timeline.rs | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/web/src/components/timeline.rs b/web/src/components/timeline.rs index 0f6ed6d..f38271d 100644 --- a/web/src/components/timeline.rs +++ b/web/src/components/timeline.rs @@ -98,21 +98,27 @@ pub fn TimelineRepliesRecursive(tl: Timeline, root: String) -> impl IntoView { let oid = object.object().id().unwrap_or_default().to_string(); if let Some(note) = CACHE.get(&oid) { view! { - - -
- +
+ + +
+ +
- }.into_view() + } } else { view! { - - }.into_view() +
+ +
+ } } }, Some(apb::ObjectType::Activity(_)) => view! { - - }.into_view(), +
+ +
+ }, _ => { let oid = object.id().unwrap_or_default().to_string(); view! { @@ -122,7 +128,7 @@ pub fn TimelineRepliesRecursive(tl: Timeline, root: String) -> impl IntoView { - }.into_view() + } }, } }