mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: simplify education message layout on empty /new route (#25412)
This commit is contained in:
parent
508e2e601c
commit
cf25fab9b0
@ -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}}
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user