A platform for community discussion. Free, open, simple.
UX: simplify education message layout on empty /new route (#25412)
Kriscf25fab9b0a2
diff --git a/app/assets/javascripts/discourse/app/components/footer-message.hbs b/app/assets/javascripts/discourse/app/components/footer-message.hbsindex 8d8d99c54a5..f60c0fc7a1c 100644--- a/app/assets/javascripts/discourse/app/components/footer-message.hbs+++ b/app/assets/javascripts/discourse/app/components/footer-message.hbs@@ -1,7 +1,9 @@-{{#if this.education}}<div class="education">{{html-safe- this.education- }}</div>{{/if}}<h3>{{this.message}}{{yield}}-</h3>\ No newline at end of file+</h3>+{{#if this.education}}+ <div class="education">+ {{html-safe this.education}}+ </div>+{{/if}}\ No newline at end of filediff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scssindex bd18a115f87..56ca19e3ca6 100644--- a/app/assets/stylesheets/common/base/_topic-list.scss+++ b/app/assets/stylesheets/common/base/_topic-list.scss@@ -415,12 +415,13 @@div.education {color: var(--primary);- padding: 1em 2.5em 1em 1em;margin-bottom: 2em;- border-top: 3px solid var(--primary-low);- border-bottom: 1px solid var(--primary-low);- .badge-notification.unread-posts {+ p {+ max-width: 62em;+ }++ .badge-notification {vertical-align: text-bottom;}}