mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 22:11:09 +03:00
Added basic styles to the announcement editor
refs https://github.com/TryGhost/Team/issues/3026
This commit is contained in:
parent
932bfef27a
commit
7e349d0bf8
@ -5,8 +5,8 @@
|
||||
</label>
|
||||
<div class="gh-announcement-editor">
|
||||
<KoenigLexicalEditorInput
|
||||
@placeholderText="Enter text"
|
||||
@html={{'<p><span>check</span> <a href="https://ghost.org/changelog/markdown/" dir="ltr"><span data-lexical-text="true">ghost.org/changelog/markdown/</span></a></p>'}}
|
||||
@placeholderText="Breaking news, a big story, a special offer, or any other message"
|
||||
@html={{'<p></p>'}}
|
||||
@onChangeHtml={{this.onChangeHtml}}
|
||||
/>
|
||||
</div>
|
||||
|
@ -3684,3 +3684,27 @@ p.theme-validation-details {
|
||||
margin-left: 8px;
|
||||
background: var(--whitegrey);
|
||||
}
|
||||
|
||||
/* Announcement bar */
|
||||
|
||||
.gh-announcement-editor {
|
||||
height: 120px;
|
||||
padding: 6px 12px 6px 12px;
|
||||
border: 1px solid var(--whitegrey-d1);
|
||||
background: var(--white);
|
||||
border-radius: 4px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.gh-announcement-editor .koenig-lexical *,
|
||||
.gh-announcement-editor .koenig-lexical-editor-input-placeholder {
|
||||
font-family: var(--font-family) !important;
|
||||
font-size: 1.4rem !important;
|
||||
line-height: 1.5em !important;
|
||||
}
|
||||
|
||||
.gh-announcement-editor .koenig-lexical a {
|
||||
display: inline;
|
||||
padding: 0;
|
||||
height: auto;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user