diff --git a/assets/themes/default/_global.scss b/assets/themes/default/_global.scss index 7a891b34..fc61f953 100644 --- a/assets/themes/default/_global.scss +++ b/assets/themes/default/_global.scss @@ -224,6 +224,10 @@ p.error { background-position: center; background-size: cover; margin: 0px; + + &:hover { + opacity: 0.9; + } } h3 { diff --git a/templates/partials/post_card.rs.html b/templates/partials/post_card.rs.html index a941e0cb..e7c844e8 100644 --- a/templates/partials/post_card.rs.html +++ b/templates/partials/post_card.rs.html @@ -6,7 +6,7 @@
@if article.cover_id.is_some() { -
+
}
@if ctx.2.clone().and_then(|u| article.is_author(ctx.0, u.id).ok()).unwrap_or(false) {