move age beside title on mobile categories page
This commit is contained in:
parent
07e7b07b63
commit
0aee7b8211
|
@ -21,6 +21,7 @@
|
|||
<div class='topic-inset'>
|
||||
{{topic-status topic=t}}
|
||||
{{topic-link t}}
|
||||
<span class="{{cold-age-class t.last_posted_at}}" title='{{raw-date t.last_posted_at}}'>{{{format-age t.last_posted_at}}}</span>
|
||||
|
||||
{{#if t.hasExcerpt}}
|
||||
<div class="topic-excerpt">
|
||||
|
@ -36,7 +37,6 @@
|
|||
</div>
|
||||
</td>
|
||||
<td class='num posts'>{{raw "list/post-count-or-badges" topic=t postBadgesEnabled="true"}}</td>
|
||||
<td class='num age'><span class="{{cold-age-class t.last_posted_at}}" title='{{raw-date t.last_posted_at}}'>{{{format-age t.last_posted_at}}}</span></td>
|
||||
</tr>
|
||||
|
||||
{{/each}}
|
||||
|
|
|
@ -114,6 +114,7 @@
|
|||
|
||||
.num.posts {
|
||||
font-weight: bold;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.age {
|
||||
|
@ -142,7 +143,7 @@
|
|||
}
|
||||
|
||||
.age {
|
||||
width: 10%;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -208,6 +209,10 @@ tr.category-topic-link {
|
|||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.category-topic-link .main-link .age {
|
||||
font-size: 0.857em;
|
||||
}
|
||||
|
||||
.category-description td {
|
||||
padding-top: 0;
|
||||
padding-bottom: 15px;
|
||||
|
|
Loading…
Reference in New Issue