From 0d12debd4139d41eee346ccbf913a59616c3f9d9 Mon Sep 17 00:00:00 2001 From: Ross Maguire Date: Fri, 31 Mar 2023 13:26:57 +0100 Subject: [PATCH 1/4] fix: adding .next to gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 697bbd5c..94f7d32a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ node_modules # JavaScript dependencies package-lock.json +.next From 7ddf29b9f30de8ef5b573d316de83981c45cfa52 Mon Sep 17 00:00:00 2001 From: Ross Maguire Date: Fri, 31 Mar 2023 13:28:10 +0100 Subject: [PATCH 2/4] style: add styles for wordpress layout --- .../ContentWrapper/ContentWrapper.module.scss | 13 +++++++++++-- wp-templates/page.js | 5 ----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/components/ContentWrapper/ContentWrapper.module.scss b/components/ContentWrapper/ContentWrapper.module.scss index 1fe0634c..18be1bbe 100644 --- a/components/ContentWrapper/ContentWrapper.module.scss +++ b/components/ContentWrapper/ContentWrapper.module.scss @@ -1,5 +1,4 @@ .component { - max-width: var(--wpe--content--max-width); margin: 0 auto; line-height: 1.6875; @@ -7,6 +6,16 @@ // Scope WordPress block styles within ContentWrapper. @import 'styles/blocks'; + // custom class set in blocks properties in Gutenberg sidebar + .inner-blueprint-content, .outer-blueprint-block .wp-block-columns { + width: 60% !important; + margin: 0 auto !important; + } + + .has-white-color { + color: white !important; + } + * { max-width: 100%; } @@ -131,4 +140,4 @@ padding: 0.4em; } } -} +} \ No newline at end of file diff --git a/wp-templates/page.js b/wp-templates/page.js index 3a39f608..cc5d5c41 100644 --- a/wp-templates/page.js +++ b/wp-templates/page.js @@ -38,12 +38,7 @@ export default function Component(props) { menuItems={primaryMenu} />
- <> - - - -