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:
parent
586c515f1a
commit
b9a35be517
2 changed files with 10 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue