mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Correct custom social OG preview in nightshift
Closes #8864 Assigns overrides to `og-preview-*` classes. Previously, the classes inherited their color from `body`. Verified against https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fblog.ghost.org%2Fcustom-social-data%2F
This commit is contained in:
parent
687a374051
commit
3b0b45fb97
1 changed files with 2 additions and 3 deletions
|
@ -158,6 +158,7 @@
|
|||
}
|
||||
|
||||
.gh-og-preview-title {
|
||||
color: #1d2129;
|
||||
max-height: 110px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 5px;
|
||||
|
@ -169,6 +170,7 @@
|
|||
}
|
||||
|
||||
.gh-og-preview-description {
|
||||
color: #4b4f56;
|
||||
max-height: 80px;
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
|
@ -202,7 +204,6 @@
|
|||
color: #3b5998;
|
||||
}
|
||||
|
||||
|
||||
/* Twitter Card Preview */
|
||||
.gh-twitter-preview {
|
||||
overflow: hidden;
|
||||
|
@ -261,8 +262,6 @@
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* NEW editor
|
||||
/* ---------------------------------------------------------- */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue