From a7e4029507da2e4a41217c02ccf87010b23a452f Mon Sep 17 00:00:00 2001 From: Michael Esteban Date: Sat, 26 Sep 2020 12:47:01 +1000 Subject: [PATCH] change duplicate body tag to a div --- src/components/Layout.js | 5 ++--- src/css/index.less | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/Layout.js b/src/components/Layout.js index c637ce2194..1d1a341f0a 100644 --- a/src/components/Layout.js +++ b/src/components/Layout.js @@ -6,15 +6,14 @@ import Footer from './Footer' import SEO from './Seo' const Layout = ( { children, title, section, className, noSearch } ) => ( - // Temporarily added (need to find a way around this) - +
{children}
) Layout.propTypes = { diff --git a/src/css/index.less b/src/css/index.less index d79da38005..0d436bd63d 100644 --- a/src/css/index.less +++ b/src/css/index.less @@ -1,7 +1,7 @@ @import "variables.less"; // Index page uses a fixed header with an overlay -body.index { +.index { background: #f5f6f8; @media screen and (min-width: 1020px) { margin-top: 50px;