diff --git a/app/assets/javascripts/discourse/app/components/discovery/topics.hbs b/app/assets/javascripts/discourse/app/components/discovery/topics.hbs index 2d42462c8d4..f65557a6879 100644 --- a/app/assets/javascripts/discourse/app/components/discovery/topics.hbs +++ b/app/assets/javascripts/discourse/app/components/discovery/topics.hbs @@ -34,6 +34,7 @@ @model={{@model}} @incomingCount={{this.topicTrackingState.incomingCount}} @bulkSelectHelper={{@bulkSelectHelper}} + @class={{if this.footerEducation "--no-topics-education"}} > {{#if this.top}}
diff --git a/app/assets/stylesheets/desktop/topic-list.scss b/app/assets/stylesheets/desktop/topic-list.scss index 3e76048197e..7f55a03e462 100644 --- a/app/assets/stylesheets/desktop/topic-list.scss +++ b/app/assets/stylesheets/desktop/topic-list.scss @@ -141,13 +141,16 @@ } .topic-list-bottom { - margin: 20px 0; - .footer-message { - padding-top: 4px; - } + margin: 1.25em 0; .dismiss-container-bottom { float: right; } + .--no-topics-education + & { + margin: 0; + .footer-message { + padding-top: 4em; + } + } } // Misc. stuff