edited view for media so it has classes and not styles
This commit is contained in:
parent
72a1d805bb
commit
2fbe867757
|
@ -51,15 +51,12 @@ $("#archive_page_title").html('<?php echo $_html ?>');
|
||||||
<div class="media-list" style="display: flex;">
|
<div class="media-list" style="display: flex;">
|
||||||
<?php foreach ($itemMedia as $media): ?>
|
<?php foreach ($itemMedia as $media): ?>
|
||||||
<?php echo $media->linkPretty(); ?>
|
<?php echo $media->linkPretty(); ?>
|
||||||
<br />
|
<div class="resource">
|
||||||
<div style="display: flex;
|
<a class="resource-link" href="<?= $media->originalUrl(); ?>">
|
||||||
flex: 1;
|
|
||||||
flex-direction: column;
|
|
||||||
padding: 0 10px 10px 0;">
|
|
||||||
<a href="<?= $media->originalUrl(); ?>">
|
|
||||||
<img src="<?= $media->thumbnailUrl("square"); ?>" />
|
<img src="<?= $media->thumbnailUrl("square"); ?>" />
|
||||||
<br />
|
<span class="resource-name">
|
||||||
<?= $media->displayTitle(); ?>
|
<?= $media->displayTitle(); ?>
|
||||||
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
Loading…
Reference in New Issue