fix(web): actor summary, consistency
This commit is contained in:
parent
0fec18582d
commit
20e5a3c104
4 changed files with 4 additions and 2 deletions
|
@ -166,6 +166,7 @@
|
||||||
div.overlap {
|
div.overlap {
|
||||||
position: relative;
|
position: relative;
|
||||||
bottom: 3em;
|
bottom: 3em;
|
||||||
|
margin-bottom: -3em;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
|
@ -14,7 +14,7 @@ pub fn ActorPosts() -> impl IntoView {
|
||||||
}
|
}
|
||||||
}).track();
|
}).track();
|
||||||
view! {
|
view! {
|
||||||
<code class="cw color center mt-1 mb-1 ml-3 mr-3"><span class="emoji">"🖂"</span>" posts"</code>
|
<code class="cw color center mt-1 mb-1 ml-3 mr-3"><span class="emoji">"🖂"</span>" "<b>posts</b></code>
|
||||||
<TimelineFeed tl=feeds.user />
|
<TimelineFeed tl=feeds.user />
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,6 +97,7 @@ pub fn ActorHeader() -> impl IntoView {
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<p class="mb-2 mt-0 center" inner_html={mdhtml::safe_html(actor.summary().unwrap_or_default())}></p>
|
||||||
</div>
|
</div>
|
||||||
<Outlet />
|
<Outlet />
|
||||||
}.into_view()
|
}.into_view()
|
||||||
|
|
|
@ -191,7 +191,7 @@ pub fn TimelineFeed(tl: Timeline) -> impl IntoView {
|
||||||
on:click=move |_| tl.more(auth)
|
on:click=move |_| tl.more(auth)
|
||||||
>
|
>
|
||||||
{move || if tl.loading.get() {
|
{move || if tl.loading.get() {
|
||||||
view! { "loading"<span class="dots"></span> }.into_view()
|
view! { "loading "<span class="dots"></span> }.into_view()
|
||||||
} else { "more".into_view() }}
|
} else { "more".into_view() }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue