Skip to content

Commit

Permalink
fix c-debug-table styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
LordSimal committed Jun 24, 2022
1 parent 7863b22 commit 85b453e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions templates/element/routes_panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
<thead>
<tr>
<th><?= __d('debug_kit', 'Route name') ?></th>
<th class="c-debug_table u-text-left"><?= __d('debug_kit', 'URI template') ?></th>
<th class="c-debug-table u-text-left"><?= __d('debug_kit', 'Defaults') ?></th>
<th class="u-text-left"><?= __d('debug_kit', 'URI template') ?></th>
<th class="u-text-left"><?= __d('debug_kit', 'Defaults') ?></th>
</tr>
</thead>
<tbody>
Expand Down Expand Up @@ -86,8 +86,8 @@
?>
<tr class="<?= $class ?>">
<td><?= h(Hash::get($route->options, '_name', $route->getName())) ?></td>
<td class="c-debug-table u-text-left"><?= h($route->template) ?></td>
<td class="c-debug-table u-text-left"><pre><?= json_encode($route->defaults, JSON_PRETTY_PRINT) ?></pre></td>
<td class="u-text-left"><?= h($route->template) ?></td>
<td class="u-text-left"><pre><?= json_encode($route->defaults, JSON_PRETTY_PRINT) ?></pre></td>
</tr>
<?php endforeach; ?>
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions webroot/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ strong {
word-break: break-word; /* Not standard for webkit */
}

.c-debug-table th.left,
.c-debug-table td.left {
.c-debug-table th.u-text-left,
.c-debug-table td.u-text-left {
text-align: left;
}

Expand Down

0 comments on commit 85b453e

Please sign in to comment.