0
Fork 0
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:
Seth Lilly 2017-08-25 17:43:25 -04:00 committed by John O'Nolan
parent 687a374051
commit 3b0b45fb97

View file

@ -158,6 +158,7 @@
} }
.gh-og-preview-title { .gh-og-preview-title {
color: #1d2129;
max-height: 110px; max-height: 110px;
overflow: hidden; overflow: hidden;
margin-bottom: 5px; margin-bottom: 5px;
@ -169,6 +170,7 @@
} }
.gh-og-preview-description { .gh-og-preview-description {
color: #4b4f56;
max-height: 80px; max-height: 80px;
overflow: hidden; overflow: hidden;
font-size: 12px; font-size: 12px;
@ -202,7 +204,6 @@
color: #3b5998; color: #3b5998;
} }
/* Twitter Card Preview */ /* Twitter Card Preview */
.gh-twitter-preview { .gh-twitter-preview {
overflow: hidden; overflow: hidden;
@ -261,8 +262,6 @@
} }
/* NEW editor /* NEW editor
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */