aboutsummaryrefslogtreecommitdiff
path: root/ui/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-12-12 17:43:54 +0100
committermetamuffin <metamuffin@disroot.org>2025-12-12 17:43:54 +0100
commit8ae93cf38e0cb73c11035ee888d4bf69fe4efac3 (patch)
tree74c7794c70f646f1075ea83fb55a05af10951e7d /ui/src
parented3cbc9380f6a5b2b83bfbd0d191268265607c5a (diff)
downloadjellything-8ae93cf38e0cb73c11035ee888d4bf69fe4efac3.tar
jellything-8ae93cf38e0cb73c11035ee888d4bf69fe4efac3.tar.bz2
jellything-8ae93cf38e0cb73c11035ee888d4bf69fe4efac3.tar.zst
Fix asset size param missing
Diffstat (limited to 'ui/src')
-rw-r--r--ui/src/node_card.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/node_card.rs b/ui/src/node_card.rs
index dfcd37c..35c286c 100644
--- a/ui/src/node_card.rs
+++ b/ui/src/node_card.rs
@@ -17,7 +17,7 @@ markup::define! {
div[class=cls] {
.poster {
a[href=u_node_slug(&node.slug)] {
- img[src=u_node_image(&node.slug, PictureSlot::Cover, 1024), loading="lazy"];
+ img[src=u_node_image(&node.slug, PictureSlot::Cover, 512), loading="lazy"];
}
.cardhover.item {
@if node.media.is_some() {
@@ -42,7 +42,7 @@ markup::define! {
div[class="node card widecard poster"] {
div[class=&format!("poster {}", aspect_class(node.kind))] {
a[href=u_node_slug(&node.slug)] {
- img[src=u_node_image(&node.slug, PictureSlot::Cover, 1024), loading="lazy"];
+ img[src=u_node_image(&node.slug, PictureSlot::Cover, 512), loading="lazy"];
}
.cardhover.item {
@if node.media.is_some() {