UX: simplify education message layout on empty /new route (#25412)

This commit is contained in:
Kris 2024-01-24 18:13:42 -05:00 committed by GitHub
parent 508e2e601c
commit cf25fab9b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 8 deletions

View File

@ -1,7 +1,9 @@
{{#if this.education}}<div class="education">{{html-safe
this.education
}}</div>{{/if}}
<h3> <h3>
{{this.message}} {{this.message}}
{{yield}} {{yield}}
</h3> </h3>
{{#if this.education}}
<div class="education">
{{html-safe this.education}}
</div>
{{/if}}

View File

@ -415,12 +415,13 @@
div.education { div.education {
color: var(--primary); color: var(--primary);
padding: 1em 2.5em 1em 1em;
margin-bottom: 2em; 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; vertical-align: text-bottom;
} }
} }