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 {
|
||||
position: relative;
|
||||
bottom: 3em;
|
||||
margin-bottom: -3em;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
|
|
|
@ -14,7 +14,7 @@ pub fn ActorPosts() -> impl IntoView {
|
|||
}
|
||||
}).track();
|
||||
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 />
|
||||
}
|
||||
}
|
||||
|
|
|
@ -97,6 +97,7 @@ pub fn ActorHeader() -> impl IntoView {
|
|||
}}
|
||||
</div>
|
||||
</div>
|
||||
<p class="mb-2 mt-0 center" inner_html={mdhtml::safe_html(actor.summary().unwrap_or_default())}></p>
|
||||
</div>
|
||||
<Outlet />
|
||||
}.into_view()
|
||||
|
|
|
@ -191,7 +191,7 @@ pub fn TimelineFeed(tl: Timeline) -> impl IntoView {
|
|||
on:click=move |_| tl.more(auth)
|
||||
>
|
||||
{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() }}
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue