Move columns around on wide categories page

This commit is contained in:
Neil Lalonde 2013-12-12 17:27:25 -05:00
parent 50bd05663c
commit eadf5e9b02
2 changed files with 7 additions and 7 deletions

View File

@ -4,11 +4,11 @@
<thead>
<tr>
<th class='category'>{{i18n categories.category}}</th>
<th class='latest'>{{i18n categories.latest}}</th>
<th class='num topics'>{{i18n categories.topics}}</th>
<th class='num posts'>{{i18n categories.posts}}</th>
<th class='latest'>{{i18n categories.latest}}
<th class='num posts'>{{i18n categories.posts}}
{{#if canEdit}}
<button title='{{i18n categories.toggle_ordering}}' class='btn toggle-admin no-text' {{action toggleOrdering}}><i class='fa fa-wrench'></i></button>
<button title='{{i18n categories.toggle_ordering}}' class='btn toggle-admin no-text' {{action toggleOrdering}}><i class='fa fa-wrench'></i></button>
{{/if}}
</th>
</tr>
@ -52,8 +52,6 @@
</div>
{{/if}}
</td>
<td class='num'>{{number topic_count}}</td>
<td class='num'>{{number post_count}}</td>
<td {{bindAttr class="archived :latest"}}>
{{#each featuredTopics}}
<div class="featured-topic">
@ -81,6 +79,8 @@
</div>
{{/each}}
</td>
<td class='num'>{{number topic_count}}</td>
<td class='num'>{{number post_count}}</td>
</tr>
{{/each}}
</tbody>

View File

@ -234,14 +234,14 @@
}
#topic-list.categories {
th.latest {
th.posts {
position: relative;
}
th .toggle-admin {
position: absolute;
padding: 3px 8px;
font-size: 12px;
right: 5px;
right: -35px;
top: 4px;
}
th.latest, td.latest {