mirror of
https://github.com/discourse/discourse.git
synced 2025-04-08 21:35:08 +08:00
UX: headings in banners had no margins
This commit is contained in:
parent
35bb4ae995
commit
c9028f517a
@ -1,8 +1,8 @@
|
|||||||
{{#if visible}}
|
{{#if visible}}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div id="banner" class={{overlay}}>
|
<div id="banner" class={{overlay}}>
|
||||||
<div id="banner-content">
|
|
||||||
<div class="close" {{action "dismiss"}}><i class="fa fa-times" title="{{i18n 'banner.close'}}"></i></div>
|
<div class="close" {{action "dismiss"}}><i class="fa fa-times" title="{{i18n 'banner.close'}}"></i></div>
|
||||||
|
<div id="banner-content">
|
||||||
{{{banner.html}}}
|
{{{banner.html}}}
|
||||||
{{#if currentUser.staff}}
|
{{#if currentUser.staff}}
|
||||||
<p><a href="{{banner.url}}">{{{i18n "banner.edit"}}}</a></p>
|
<p><a href="{{banner.url}}">{{{i18n "banner.edit"}}}</a></p>
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// global styles for the cooked HTML content in posts (and preview)
|
// 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;
|
word-wrap: break-word;
|
||||||
h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; }
|
h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; }
|
||||||
h1 { line-height: 1em; } /* normalize.css sets h1 font size but not line height */
|
h1 { line-height: 1em; } /* normalize.css sets h1 font size but not line height */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user