Sophisticated Business: Make sure the first block has margin-top: 0

This commit is contained in:
Allan Cole 2019-06-20 15:34:39 -04:00
parent 196a7a4488
commit 65fd251cb7
3 changed files with 21 additions and 0 deletions

View file

@ -86,6 +86,13 @@
}
}
/*
* Make sure the first block has margin-top: 0
*/
.entry:not(.has-post-thumbnail) .entry-content > :first-child {
margin-top: 0;
}
/*
* Unset nested content selector styles
* - Prevents layout styles from cascading too deeply

View file

@ -3388,6 +3388,13 @@ body.page .main-navigation {
}
}
/*
* Make sure the first block has margin-top: 0
*/
.entry:not(.has-post-thumbnail) .entry-content > :first-child {
margin-top: 0;
}
/*
* Unset nested content selector styles
* - Prevents layout styles from cascading too deeply

View file

@ -3400,6 +3400,13 @@ body.page .main-navigation {
}
}
/*
* Make sure the first block has margin-top: 0
*/
.entry:not(.has-post-thumbnail) .entry-content > :first-child {
margin-top: 0;
}
/*
* Unset nested content selector styles
* - Prevents layout styles from cascading too deeply