UX: headings in banners had no margins

This commit is contained in:
Neil Lalonde 2017-05-23 11:25:32 -04:00
parent 35bb4ae995
commit c9028f517a
2 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
{{#if visible}}
<div class="row">
<div id="banner" class={{overlay}}>
<div class="close" {{action "dismiss"}}><i class="fa fa-times" title="{{i18n 'banner.close'}}"></i></div>
<div id="banner-content">
<div class="close" {{action "dismiss"}}><i class="fa fa-times" title="{{i18n 'banner.close'}}"></i></div>
{{{banner.html}}}
{{#if currentUser.staff}}
<p><a href="{{banner.url}}">{{{i18n "banner.edit"}}}</a></p>

View File

@ -44,7 +44,7 @@
}
// global styles for the cooked HTML content in posts (and preview)
.cooked, .d-editor-preview {
.cooked, .d-editor-preview, #banner-content {
word-wrap: break-word;
h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; }
h1 { line-height: 1em; } /* normalize.css sets h1 font size but not line height */