mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08:00
tweak subcategories position on mobile categories page
This commit is contained in:
parent
6447c6c81d
commit
a0afaf6d48
|
@ -42,7 +42,7 @@
|
|||
|
||||
{{/each}}
|
||||
{{#if c.subcategories}}
|
||||
<tr>
|
||||
<tr class="subcategories-list">
|
||||
<td>
|
||||
<div class='subcategories'>
|
||||
{{#each subcategory in c.subcategories}}
|
||||
|
|
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue
Block a user