Removed spacing between full-width cards

Refs https://github.com/TryGhost/Product/issues/3589
This commit is contained in:
Sanne de Vries 2023-07-11 13:07:19 +02:00 committed by Sodbileg Gansukh
parent d3483498d4
commit c7fdfb7479
3 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1347,6 +1347,11 @@ headings, text, images and lists. We deal with cards lower down. */
margin-bottom: 0;
}
/* Remove space between full-width cards */
.gh-content > .kg-width-full + .kg-width-full:not(.kg-width-full.with-caption + .kg-width-full) {
margin-top: 0;
}
/* [id] represents all headings h1-h6, reset all margins */
.gh-content > [id] {
margin: 0;