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

Fixed facebook description cut-off in edit mode bug

This commit is contained in:
Sanne de Vries 2021-03-03 14:59:28 +01:00
parent 586c515f1a
commit b9a35be517
2 changed files with 10 additions and 3 deletions

View file

@ -62,7 +62,7 @@
<div class="gh-social-og-preview-bookmark">
{{!-- Ensures description is hidden if title exceeds one line --}}
<div class="gh-social-og-preview-content">
<div class="gh-social-og-preview-content {{if this.editingFacebookTitle 'edit-mode'}} {{if this.editingFacebookDescription 'edit-mode'}}">
<div class="gh-social-og-preview-meta">
{{this.config.blogDomain}}
</div>

View file

@ -292,13 +292,20 @@
}
.gh-social-og-preview-bookmark {
padding: 10px 12px;
padding: 10px 12px 8px;
border-bottom: 1px solid #dddfe2;
}
.gh-social-og-preview-content {
height: 66px;
height: 69px;
overflow: hidden;
margin: 0 -1px 0 -4px;
padding: 0 1px 0 4px;
}
.gh-social-og-preview-content.edit-mode {
height: auto;
overflow-y: visible;
}
.gh-social-og-preview-meta {