mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed PSM seo preview title overflowing bug
This commit is contained in:
parent
c41a1f77f8
commit
d3ace95ff6
2 changed files with 6 additions and 2 deletions
|
@ -199,7 +199,7 @@
|
|||
@focus-out={{action "setMetaTitle" this.metaTitleScratch}}
|
||||
@stopEnterKeyDownPropagation={{true}}
|
||||
data-test-field="meta-title" />
|
||||
<p>Recommended: <b>70</b> characters. You’ve used {{gh-count-down-characters this.metaTitleScratch 70}}</p>
|
||||
<p>Recommended: <b>60</b> characters. You’ve used {{gh-count-down-characters this.metaTitleScratch 60}}</p>
|
||||
<GhErrorMessage @errors={{this.post.errors}} @property="meta-title" />
|
||||
</GhFormGroup>
|
||||
|
||||
|
@ -241,7 +241,7 @@
|
|||
<div class="gh-seo-search-bar">{{svg-jar "google-search"}}</div>
|
||||
</div>
|
||||
<div class="gh-seo-preview-link">{{this.config.blogDomain}} › {{#if this.ghostPaths.subdir}}{{this.ghostPaths.subdir}} › {{/if}}{{@post.slug}}</div>
|
||||
<div class="gh-seo-preview-title">{{this.seoTitle}}</div>
|
||||
<div class="gh-seo-preview-title">{{truncate this.seoTitle 60}}</div>
|
||||
<div class="gh-seo-preview-desc">{{this.seoDescription}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -234,6 +234,10 @@
|
|||
line-height: 1.35em;
|
||||
}
|
||||
|
||||
.settings-menu-content .gh-seo-preview-title {
|
||||
white-space: inherit;
|
||||
}
|
||||
|
||||
.settings-menu-content .CodeMirror {
|
||||
height: 170px;
|
||||
min-height: 170px;
|
||||
|
|
Loading…
Add table
Reference in a new issue