mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
tweak subcategories position on mobile categories page
This commit is contained in:
parent
6447c6c81d
commit
a0afaf6d48
2 changed files with 12 additions and 9 deletions
|
@ -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}}
|
||||||
|
|
|
@ -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%;
|
||||||
|
|
Loading…
Reference in a new issue