mobile category layout fixes

This commit is contained in:
Jeff Atwood 2014-07-19 23:54:57 -07:00
parent c1a2cc9c13
commit 1c4e3c4a96
3 changed files with 4 additions and 7 deletions

View File

@ -5,8 +5,8 @@
<th class="main-link"> <th class="main-link">
{{category-link this allowUncategorized=true}} {{category-link this allowUncategorized=true}}
</th> </th>
<th class='num posts'>{{i18n posts}}</th> <th class='num'>{{i18n posts}}</th>
<th class='num age'>{{i18n age}}</th> <th class='num'>{{i18n age}}</th>
</tr> </tr>
{{#if description_excerpt}} {{#if description_excerpt}}
@ -47,7 +47,7 @@
{{/if}} {{/if}}
</div> </div>
</td> </td>
<td class='num posts'><span class='badge-posts'>{{number posts_count}}</span></td> <td class='num posts'>{{number posts_count}}</td>
<td class='num age'><span class="{{cold-age-class created_at}}" title='{{raw-date created_at}}'>{{{age created_at}}}</span></td> <td class='num age'><span class="{{cold-age-class created_at}}" title='{{raw-date created_at}}'>{{{age created_at}}}</span></td>
</tr> </tr>
{{/each}} {{/each}}

View File

@ -21,10 +21,6 @@
white-space: nowrap; white-space: nowrap;
display: inline-block; display: inline-block;
line-height: 1; line-height: 1;
i.fa {
font-size: 11px;
vertical-align: 1px;
}
} }
.badge-wrapper { .badge-wrapper {
white-space: nowrap; white-space: nowrap;

View File

@ -133,6 +133,7 @@
th .badge-category { th .badge-category {
float: left; float: left;
margin: 1px 4px 0 0; margin: 1px 4px 0 0;
font-size: 110%;
} }
.posters { .posters {
float: left; float: left;