From c81c8d24661f7642903d5c841b37e7b896dcaf86 Mon Sep 17 00:00:00 2001 From: Jonathan Hung Date: Fri, 21 Feb 2020 13:26:34 -0500 Subject: [PATCH 1/3] fix: resource byline displaying inline with title Removed .home__feed header style that was causing elements to flex and appear inline. resolve #257 --- src/assets/styles/layouts/_home.scss | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/assets/styles/layouts/_home.scss b/src/assets/styles/layouts/_home.scss index 34cf3bf5..08c03945 100644 --- a/src/assets/styles/layouts/_home.scss +++ b/src/assets/styles/layouts/_home.scss @@ -40,12 +40,6 @@ padding-top: $gutter; header { - align-items: baseline; - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: space-between; - a { margin-top: 0; } From 222e1a6abf4cb1dc132d1a5b355f2375a4924827 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Fri, 21 Feb 2020 13:03:40 -0700 Subject: [PATCH 2/3] fix: allow home layout to render --- src/components/layouts/home/home.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layouts/home/home.njk b/src/components/layouts/home/home.njk index 71fbfecf..0a8c2c39 100644 --- a/src/components/layouts/home/home.njk +++ b/src/components/layouts/home/home.njk @@ -3,7 +3,7 @@

{{ subhead }}

From aad6845adddabb83b64bfe1d6ccf5f7da0e81f25 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Fri, 21 Feb 2020 13:07:32 -0700 Subject: [PATCH 3/3] fix: apply flex layout to direct descendent header --- src/assets/styles/layouts/_home.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/assets/styles/layouts/_home.scss b/src/assets/styles/layouts/_home.scss index 08c03945..a6ecdc6a 100644 --- a/src/assets/styles/layouts/_home.scss +++ b/src/assets/styles/layouts/_home.scss @@ -39,7 +39,13 @@ .home__feed { padding-top: $gutter; - header { + > header { + align-items: baseline; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; + a { margin-top: 0; }