1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01: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 2295787797
commit 2c0f5ab387

View file

@ -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
/* ---------------------------------------------------------- */