Skip to content

Commit 7863b22

Browse files
committed
replace c-left-align with u-text-left
1 parent 065199e commit 7863b22

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

templates/element/routes_panel.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
<thead>
5353
<tr>
5454
<th><?= __d('debug_kit', 'Route name') ?></th>
55-
<th class="c-debug_table c-left-align"><?= __d('debug_kit', 'URI template') ?></th>
56-
<th class="c-debug-table c-left-align"><?= __d('debug_kit', 'Defaults') ?></th>
55+
<th class="c-debug_table u-text-left"><?= __d('debug_kit', 'URI template') ?></th>
56+
<th class="c-debug-table u-text-left"><?= __d('debug_kit', 'Defaults') ?></th>
5757
</tr>
5858
</thead>
5959
<tbody>
@@ -86,8 +86,8 @@
8686
?>
8787
<tr class="<?= $class ?>">
8888
<td><?= h(Hash::get($route->options, '_name', $route->getName())) ?></td>
89-
<td class="c-debug-table c-left-align"><?= h($route->template) ?></td>
90-
<td class="c-debug-table c-left-align"><pre><?= json_encode($route->defaults, JSON_PRETTY_PRINT) ?></pre></td>
89+
<td class="c-debug-table u-text-left"><?= h($route->template) ?></td>
90+
<td class="c-debug-table u-text-left"><pre><?= json_encode($route->defaults, JSON_PRETTY_PRINT) ?></pre></td>
9191
</tr>
9292
<?php endforeach; ?>
9393
</tbody>

webroot/css/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,6 @@ strong {
284284
.c-debug-table .highlighted td {
285285
background: var(--highlighted);
286286
}
287-
.c-debug-table th.c-left-align,
288-
.c-debug-table td.c-left-align {
289-
text-align: left;
290-
}
291287

292288
.c-flash {
293289
position: relative;
@@ -684,6 +680,10 @@ strong {
684680
text-align: right;
685681
}
686682

683+
.u-text-left {
684+
text-align: left;
685+
}
686+
687687
.is-hidden {
688688
display: none;
689689
}

0 commit comments

Comments
 (0)