fix(web): attachment padding

This commit is contained in:
əlemi 2024-04-24 04:50:50 +02:00
parent d71510595d
commit 1ce364276b
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -14,7 +14,7 @@ pub fn Object(object: serde_json::Value) -> impl IntoView {
.map(|x| view! {
<p class="center">
<a href={x.url().id().unwrap_or_default()} target="_blank">
<img class="attachment" src={x.url().id().unwrap_or_default()} title={x.name().unwrap_or_default().to_string()} />
<img class="attachment ml-1" src={x.url().id().unwrap_or_default()} title={x.name().unwrap_or_default().to_string()} />
</a>
</p>
})