0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

Updated feedback widget design in Labs

refs https://github.com/TryGhost/Team/issues/3245
This commit is contained in:
Djordje Vlaisavljevic 2023-05-18 16:17:18 +01:00
parent f8f1a66d77
commit 06331a89c4
4 changed files with 8 additions and 7 deletions

View file

@ -8,4 +8,4 @@
<FeedbackLexical::SendButton
@onSuccess={{this.resetFeedbackMessage}}
@feedbackMessage={{this.feedbackMessage}}
/>
/>

View file

@ -12,9 +12,5 @@
data-test-lexical-feedback-textarea
{{on "input" @updateFeedbackMessage}}
/>
{{!--
<GhErrorMessage @errors={{this.member.errors}} @property="note" /> --}}
{{!-- <p> Maximum: <b>500</b> characters. Youve used
{{gh-count-down-characters this.feedbackMessage 500}}</p> --}}
</GhFormGroup>
</form>

View file

@ -521,4 +521,9 @@ p.gh-content-import-errordetail:first-of-type {
.gh-import-content-spinner .gh-loading-content {
padding-bottom: 0;
}
.gh-feedback-lexical-labs .form-group {
margin-top: 0.8rem;
margin-bottom: 1rem;
}

View file

@ -201,12 +201,12 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-block gh-feedback-lexical-labs">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Lexical editor</h4>
<p class="gh-expandable-description">
<span>Makes lexical editor the default when creating new posts/pages. Any issues? Feedback?</span><button class="green ml1" type="button" {{on "click" this.openFeedbackLexical}} data-test-button="lexical-feedback">Let us know</button>
<span>Makes lexical editor the default when creating new posts/pages.</span>
</p>
</div>
<div class="for-switch">