www: fix alignments in channelinfo hosts table
Use the "data-list" classes to style the Hosts table in the channelinfo page. This makes the header row stand out and easier to read, matching the rest of the data tables in kojiweb. This change also fixes a problem in some downstream themes. For example, Fedora's theme and Brew's theme set "text-align: right" for all tbody.th elements. These themes do this in order to control the larger parent "info" table header cells, but it ends up mis-aligning un-classed sub-tables like this one. With this change, the "list-header" class left-aligns the header row text, and the "data-list" class left-aligns the final text.
This commit is contained in:
parent
fdcff453fb
commit
a791dd8670
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@
|
|||
<th>Hosts</th>
|
||||
<td>
|
||||
#if $len($hosts) > 0
|
||||
<table>
|
||||
<tr>
|
||||
<table class="data-list">
|
||||
<tr class="list-header">
|
||||
<th>Hostname</th>
|
||||
<th>Enabled</th>
|
||||
<th>Ready</th>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue