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

Fixed missing border on the tag image uploader

This commit is contained in:
Sanne de Vries 2021-07-05 13:02:25 +01:00
parent 30abfd9fd2
commit 1d30153641

View file

@ -82,12 +82,11 @@
<p>Maximum: <b>500</b> characters. Youve used {{gh-count-down-characters this.scratchTag.description 500}}</p> <p>Maximum: <b>500</b> characters. Youve used {{gh-count-down-characters this.scratchTag.description 500}}</p>
</GhFormGroup> </GhFormGroup>
</div> </div>
<GhFormGroup @class="no-margin" @errors={{this.tag.errors}} @hasValidated={{this.tag.hasValidated}} @property="featureImage"> <GhFormGroup @class="gh-tag-image-uploader no-margin" @errors={{this.tag.errors}} @hasValidated={{this.tag.hasValidated}} @property="featureImage">
<label for="tag-image">Tag image</label> <label for="tag-image">Tag image</label>
<GhImageUploaderWithPreview <GhImageUploaderWithPreview
@image={{this.tag.featureImage}} @image={{this.tag.featureImage}}
@text="Upload tag image" @text="Upload tag image"
@class="gh-tag-image-uploader"
@allowUnsplash={{true}} @allowUnsplash={{true}}
@update={{action "setCoverImage"}} @update={{action "setCoverImage"}}
@remove={{action "clearCoverImage"}} @remove={{action "clearCoverImage"}}
@ -186,12 +185,11 @@
<div class="gh-setting-content-extended"> <div class="gh-setting-content-extended">
<div class="gh-twitter-settings"> <div class="gh-twitter-settings">
<div class="gh-twitter-settings-left flex-basis-1-2-m flex-basis-2-3-l"> <div class="gh-twitter-settings-left flex-basis-1-2-m flex-basis-2-3-l">
<GhFormGroup @errors={{this.tag.errors}} @hasValidated={{this.tag.hasValidated}} @property="twitterImage"> <GhFormGroup @class="gh-tag-image-uploader" @errors={{this.tag.errors}} @hasValidated={{this.tag.hasValidated}} @property="twitterImage">
<label for="twitter-image">Twitter image</label> <label for="twitter-image">Twitter image</label>
<GhImageUploaderWithPreview <GhImageUploaderWithPreview
@image={{this.tag.twitterImage}} @image={{this.tag.twitterImage}}
@text="Add Twitter image" @text="Add Twitter image"
@class="gh-tag-image-uploader"
@allowUnsplash={{true}} @allowUnsplash={{true}}
@update={{action "setTwitterImage"}} @update={{action "setTwitterImage"}}
@remove={{action "clearTwitterImage"}} @remove={{action "clearTwitterImage"}}
@ -281,12 +279,11 @@
<div class="gh-setting-content-extended"> <div class="gh-setting-content-extended">
<div class="gh-og-settings"> <div class="gh-og-settings">
<div class="gh-og-settings-left flex-basis-1-2-m flex-basis-2-3-l"> <div class="gh-og-settings-left flex-basis-1-2-m flex-basis-2-3-l">
<GhFormGroup @errors={{this.tag.errors}} @hasValidated={{this.tag.hasValidated}} @property="ogImage"> <GhFormGroup @class="gh-tag-image-uploader" @errors={{this.tag.errors}} @hasValidated={{this.tag.hasValidated}} @property="ogImage">
<label for="og-image">Facebook image</label> <label for="og-image">Facebook image</label>
<GhImageUploaderWithPreview <GhImageUploaderWithPreview
@image={{this.tag.ogImage}} @image={{this.tag.ogImage}}
@text="Add Facebook image" @text="Add Facebook image"
@class="gh-tag-image-uploader"
@allowUnsplash={{true}} @allowUnsplash={{true}}
@update={{action "setOgImage"}} @update={{action "setOgImage"}}
@remove={{action "clearOgImage"}} @remove={{action "clearOgImage"}}