1
0
Fork 0
forked from alemi/upub

fix(web): big, padded table for pages

This commit is contained in:
əlemi 2024-05-08 02:49:26 +02:00
parent c97e5406ef
commit 6dd140a413
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -112,7 +112,7 @@ pub fn Object(object: crate::Object) -> impl IntoView {
};
let post = match object.object_type() {
Some(apb::ObjectType::Document(apb::DocumentType::Page)) => view! {
<table>{post_inner}</table>
<table class="w-100 pa-1">{post_inner}</table>
}.into_view(), // lemmy
Some(apb::ObjectType::Document(apb::DocumentType::Video)) => post_inner.into_view(), // peertube?
Some(apb::ObjectType::Note) => view! {