diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs index 1e424e47b88..c4cde59bfaa 100644 --- a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs +++ b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs @@ -1,9 +1,9 @@ {{#each c in categories}} -
+
diff --git a/app/assets/stylesheets/mobile/topic-list.scss b/app/assets/stylesheets/mobile/topic-list.scss index d23bc8e12aa..3ad50502809 100644 --- a/app/assets/stylesheets/mobile/topic-list.scss +++ b/app/assets/stylesheets/mobile/topic-list.scss @@ -85,7 +85,7 @@ tr.category-topic-link:nth-of-type(odd) { background-color: darken($secondary, 3%) !important; - } +} .topic-list.categories { td.latest { @@ -97,9 +97,6 @@ tr.category-topic-link:nth-of-type(odd) { display: inline-block; margin-top: 1px; } - .category-description { - margin-top: 8px; - } .featured-users { @include mobile-portrait { margin-bottom: 10px; @@ -129,16 +126,38 @@ tr.category-topic-link:nth-of-type(odd) { .category-list-item { + border-left: 6px solid; + + h3 { + display: inline-block; + font-size: 1.286em; + margin: 10px 0 0 5px; + i { + margin-right: 5px; + } + a[href] { + color: $primary; + } + } + + .category-description { + td { + padding: 0 5px 15px 10px; + } + } + .topic-list > tbody > tr { &:nth-child(odd) { background-color: $secondary; - } - &:nth-child(even) { - background-color: $secondary; - } } + &:nth-child(even) { + background-color: $secondary; + } + } - margin-bottom: 10px; + .category-topic-link .main-link { + padding-left: 10px; + } th .badge-category { margin: 0;
- {{category-link c allowUncategorized=true}} + {{category-title-link category=c}}