mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 14:38:17 +08: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>
|
||||
{{this.message}}
|
||||
{{yield}}
|
||||
</h3>
|
||||
</h3>
|
||||
{{#if this.education}}
|
||||
<div class="education">
|
||||
{{html-safe this.education}}
|
||||
</div>
|
||||
{{/if}}
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user