Purge the few inline styles
timw4mail/HummingBirdAnimeClient/develop This commit looks good Details

This commit is contained in:
Timothy Warren 2018-11-08 14:18:24 -05:00
parent 9ad74ed887
commit 92c5b2baf7
3 changed files with 4 additions and 4 deletions

View File

@ -108,7 +108,7 @@ use Aviat\AnimeClient\API\Kitsu;
</tr> </tr>
<?php foreach ($casting as $cid => $c): ?> <?php foreach ($casting as $cid => $c): ?>
<tr> <tr>
<td style="width:229px"> <td>
<article class="character"> <article class="character">
<?php <?php
$link = $url->generate('person', ['id' => $c['person']['id']]); $link = $url->generate('person', ['id' => $c['person']['id']]);

View File

@ -2,7 +2,7 @@
<main> <main>
<h2>Edit Anime Collection Item</h2> <h2>Edit Anime Collection Item</h2>
<form action="<?= $action_url ?>" method="post"> <form action="<?= $action_url ?>" method="post">
<table class="invisible form" style="border:0"> <table class="invisible form borderless">
<tbody> <tbody>
<tr> <tr>
<td rowspan="6" class="align-center"> <td rowspan="6" class="align-center">
@ -28,7 +28,7 @@
<td class="align-left"> <td class="align-left">
<select name="media_id" id="media_id"> <select name="media_id" id="media_id">
<?php foreach($media_items as $id => $name): ?> <?php foreach($media_items as $id => $name): ?>
<option <?= $item['media_id'] == $id ? 'selected="selected"' : '' ?> value="<?= $id ?>"><?= $name ?></option> <option <?= $item['media_id'] === $id ? 'selected="selected"' : '' ?> value="<?= $id ?>"><?= $name ?></option>
<?php endforeach ?> <?php endforeach ?>
</select> </select>
</td> </td>

View File

@ -16,7 +16,7 @@ use Aviat\AnimeClient\API\Kitsu;
</tr> </tr>
<?php foreach ($characterList as $cid => $character): ?> <?php foreach ($characterList as $cid => $character): ?>
<tr> <tr>
<td style="width:229px"> <td>
<article class="character"> <article class="character">
<?php <?php
$link = $url->generate('character', ['slug' => $character['character']['slug']]); $link = $url->generate('character', ['slug' => $character['character']['slug']]);