Fix traditional Instagram embeds (#767)

Highly specific styles for traditional Instagram embeds

Co-authored-by: John O'Nolan <john@ghost.org>
This commit is contained in:
Paul Davis 2021-03-12 13:27:58 +00:00 committed by GitHub
parent 3cc9cb0988
commit 5f127c395b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1040,6 +1040,19 @@ except for when immediately preceeded by a heading */
} }
/* Highly specific styles for traditional Instagram embeds */
iframe.instagram-media {
margin-top: 6vmin !important;
margin-left: auto !important;
margin-right: auto !important;
margin-bottom: 0 !important;
}
iframe.instagram-media + script + :not([id]) {
margin-top: 6vmin;
}
/* Galleries /* Galleries
/* ---------------------------------------------------------- */ /* ---------------------------------------------------------- */