1
0
Fork 0
forked from alemi/upub

fix(web): smaller actor summaries

This commit is contained in:
əlemi 2024-07-05 02:24:05 +02:00
parent 9311cf25de
commit d6b9ab4cfd
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 5 additions and 1 deletions

View file

@ -252,6 +252,10 @@
background-color: rgba(var(--accent-rgb), 0.33);
color: var(--accent);
}
p.bio {
line-height: 1.2rem;
font-size: .8rem;
}
p.tiny-text {
line-height: .75em;
}

View file

@ -97,7 +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>
<p class="mb-2 mt-0 center bio" inner_html={mdhtml::safe_html(actor.summary().unwrap_or_default())}></p>
</div>
<Outlet />
}.into_view()