diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs index c4cde59bfaa..08c5446171a 100644 --- a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs @@ -42,7 +42,7 @@ {{/each}} {{#if c.subcategories}} - +
{{#each subcategory in c.subcategories}} diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index 3ad50502809..c37eabeea6b 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -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%;