0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Moved feedback button to the left side of editor

no refs
This commit is contained in:
Djordje Vlaisavljevic 2023-05-12 16:11:39 +01:00
parent 1e3d78a937
commit 8640acf94e
2 changed files with 24 additions and 10 deletions

View file

@ -387,8 +387,19 @@
font-weight: 400;
}
.gh-editor-feedback-container {
position: absolute;
left: 30px;
bottom: 30px;
display: flex;
align-items: center;
border-radius: 3px;
background: #fff;
}
.gh-editor-feedback {
color: var(--green);
font-weight: 500;
}
.gh-editor-status {

View file

@ -93,17 +93,20 @@
@registerAPI={{this.registerEditorAPI}}
/>
{{#if (feature 'lexicalEditor')}}
<div class="gh-editor-feedback-container">
<button
type="button"
class="gh-editor-feedback"
{{on "click" this.openFeedbackLexical}}
data-test-button="lexical-editor-feedback"
>
<span>Feedback?</span>
</button>
</div>
{{/if}}
<div class="gh-editor-wordcount-container">
{{#if (feature 'lexicalEditor')}}
<button
type="button"
class="gh-editor-feedback"
{{on "click" this.openFeedbackLexical}}
data-test-button="lexical-editor-feedback"
>
<span>Feedback?</span>
</button>
{{/if}}
<div class="gh-editor-wordcount">
{{gh-pluralize this.wordCount.wordCount "word"}}
</div>