From 65fd251cb795b92c3a6e5d5886c2a02605114a29 Mon Sep 17 00:00:00 2001 From: Allan Cole Date: Thu, 20 Jun 2019 15:34:39 -0400 Subject: [PATCH] Sophisticated Business: Make sure the first block has margin-top: 0 --- sophisticated-business/sass/blocks/_blocks.scss | 7 +++++++ sophisticated-business/style-rtl.css | 7 +++++++ sophisticated-business/style.css | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/sophisticated-business/sass/blocks/_blocks.scss b/sophisticated-business/sass/blocks/_blocks.scss index 379eb6c83..73451c49f 100644 --- a/sophisticated-business/sass/blocks/_blocks.scss +++ b/sophisticated-business/sass/blocks/_blocks.scss @@ -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 diff --git a/sophisticated-business/style-rtl.css b/sophisticated-business/style-rtl.css index cf1c6f3e0..17363ee00 100644 --- a/sophisticated-business/style-rtl.css +++ b/sophisticated-business/style-rtl.css @@ -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 diff --git a/sophisticated-business/style.css b/sophisticated-business/style.css index 9e093e9f4..450ed2624 100644 --- a/sophisticated-business/style.css +++ b/sophisticated-business/style.css @@ -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