FIX post card thumbnail behaviour for reportages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b23ef366ce
commit
7f419e009a
|
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
@media (max-width: 599px) {
|
@media (max-width: 599px) {
|
||||||
padding-top: 100px;
|
padding-top: 100px;
|
||||||
background: red !important;
|
|
||||||
order: 3;
|
order: 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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) : ?>
|
<?php if ($has_post_thumbnail) : ?>
|
||||||
<div class="post-card__thumbnail">
|
<div class="post-card__thumbnail">
|
||||||
<img src="<?php echo $thumbnail_url; ?>" alt="<?php echo $title; ?>">
|
<img src="<?php echo $thumbnail_url; ?>" alt="<?php echo $title; ?>">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user