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