FIX post card thumbnail behaviour for reportages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2026-05-27 12:08:38 +02:00
parent b23ef366ce
commit 7f419e009a
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,6 @@
@media (max-width: 599px) {
padding-top: 100px;
background: red !important;
order: 3;
}

View File

@ -30,7 +30,8 @@ $media_types_list = array(
?>
<a class="post-card post-card--reportages <?php $has_post_thumbnail ? 'post-card--has-thumbnail' : ''; ?> card" href="<?php echo $link; ?> " target="_blank">
<a class="post-card post-card--reportages <?php echo $has_post_thumbnail ? 'post-card--has-thumbnail' : ''; ?> card" href="<?php echo $link; ?> " target="_blank">
<?php if ($has_post_thumbnail) : ?>
<div class="post-card__thumbnail">
<img src="<?php echo $thumbnail_url; ?>" alt="<?php echo $title; ?>">