tweak subcategories position on mobile categories page

This commit is contained in:
Neil Lalonde 2015-05-06 10:58:30 -04:00
parent 6447c6c81d
commit a0afaf6d48
2 changed files with 12 additions and 9 deletions

View File

@ -42,7 +42,7 @@
{{/each}}
{{#if c.subcategories}}
<tr>
<tr class="subcategories-list">
<td>
<div class='subcategories'>
{{#each subcategory in c.subcategories}}

View File

@ -140,10 +140,17 @@ tr.category-topic-link:nth-of-type(odd) {
}
}
.category-description {
td {
padding: 0 5px 15px 10px;
}
.category-topic-link .main-link, .subcategories-list td, .category-description td {
padding-left: 10px;
}
.category-description td {
padding-top: 0;
padding-bottom: 15px;
}
.subcategories-list td {
padding-top: 15px;
}
.topic-list > tbody > tr {
@ -155,10 +162,6 @@ tr.category-topic-link:nth-of-type(odd) {
}
}
.category-topic-link .main-link {
padding-left: 10px;
}
th .badge-category {
margin: 0;
font-size: 110%;