fix(web): actor summary, consistency

This commit is contained in:
əlemi 2024-06-10 21:51:27 +02:00
parent 0fec18582d
commit 20e5a3c104
Signed by: alemi
GPG key ID: A4895B84D311642C
4 changed files with 4 additions and 2 deletions

View file

@ -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%;

View file

@ -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 />
} }
} }

View file

@ -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()