Make character layout more closely match anime/manga pages

This commit is contained in:
Timothy Warren 2018-01-16 14:58:30 -05:00
parent 55cabc5840
commit 9f61123479

View File

@ -1,5 +1,5 @@
<?php use Aviat\AnimeClient\API\Kitsu; ?> <?php use Aviat\AnimeClient\API\Kitsu; ?>
<main class="details"> <main class="details fixed">
<section class="flex flex-no-wrap"> <section class="flex flex-no-wrap">
<div> <div>
<img class="cover" width="284" src="<?= $urlGenerator->assetUrl("images/characters/{$data[0]['id']}.jpg") ?>" alt="" /> <img class="cover" width="284" src="<?= $urlGenerator->assetUrl("images/characters/{$data[0]['id']}.jpg") ?>" alt="" />
@ -40,6 +40,8 @@
</section> </section>
</div> </div>
<?php endif ?> <?php endif ?>
</section>
<section class="flex flex-no-wrap">
<?php if (array_key_exists('manga', $data['included'])): ?> <?php if (array_key_exists('manga', $data['included'])): ?>
<div> <div>
<h4>Manga</h4> <h4>Manga</h4>