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}} {{/each}}
{{#if c.subcategories}} {{#if c.subcategories}}
<tr> <tr class="subcategories-list">
<td> <td>
<div class='subcategories'> <div class='subcategories'>
{{#each subcategory in c.subcategories}} {{#each subcategory in c.subcategories}}

View file

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