0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Updated preview modal trigger styling in editor

This commit is contained in:
Sanne de Vries 2021-02-08 12:50:40 +01:00
parent 06bb047d2d
commit 37556aa432
2 changed files with 23 additions and 1 deletions

View file

@ -416,6 +416,28 @@
letter-spacing: .2px;
}
.gh-editor-preview-trigger {
background: var(--white);
font-size: 1.35rem;
font-weight: 500;
color: var(--green-d1);
letter-spacing: 0.2px;
height: 33px;
padding: 5px 12px 6px;
margin-right: 8px;
outline: none;
border: none;
border-radius: 3px;
white-space: nowrap;
transition: all 0.25s ease;
}
.gh-editor-preview-trigger:hover {
cursor: pointer;
color: var(--green-d1);
background: var(--whitegrey);
}
.gh-editor-wordcount {
position: fixed;
bottom: 0;

View file

@ -42,7 +42,7 @@
{{#unless this.post.isNew}}
{{#if this.post.isDraft}}
<div>
<button type="button" class="gh-contentfilter-menu-trigger mr3" {{on "click" (action "togglePostPreviewModal")}}>
<button type="button" class="gh-editor-preview-trigger" {{on "click" (action "togglePostPreviewModal")}}>
<span>Preview</span>
</button>
</div>