From aa86ebc9f870ef1cf03328706cc44378eab44d78 Mon Sep 17 00:00:00 2001 From: Takashi Irie Date: Fri, 10 May 2019 18:01:03 +0100 Subject: [PATCH 1/3] Sophisticated Business: Fix centred block --- sophisticated-business/sass/blocks/_blocks.scss | 5 ----- sophisticated-business/style.css | 8 -------- 2 files changed, 13 deletions(-) diff --git a/sophisticated-business/sass/blocks/_blocks.scss b/sophisticated-business/sass/blocks/_blocks.scss index ab31a2e183..c2c8803869 100644 --- a/sophisticated-business/sass/blocks/_blocks.scss +++ b/sophisticated-business/sass/blocks/_blocks.scss @@ -83,11 +83,6 @@ margin-right: auto; @include postContentMaxWidth(); - - @include media(tablet) { - margin-left: 0; - margin-right: 0; - } } } diff --git a/sophisticated-business/style.css b/sophisticated-business/style.css index cba74037e0..a3dee4b8a6 100644 --- a/sophisticated-business/style.css +++ b/sophisticated-business/style.css @@ -3425,14 +3425,6 @@ body.page .main-navigation { } } -@media only screen and (min-width: 768px) { - .entry .entry-content > *.aligncenter, - .entry .entry-summary > *.aligncenter { - margin-left: 0; - margin-right: 0; - } -} - /* * Unset nested content selector styles * - Prevents layout styles from cascading too deeply From c111a6eaa3ce541a19670da8dd052ce3728bf24c Mon Sep 17 00:00:00 2001 From: Takashi Irie Date: Fri, 10 May 2019 18:05:41 +0100 Subject: [PATCH 2/3] Professional Business: Fix centred blocks --- professional-business/sass/blocks/_blocks.scss | 5 ----- professional-business/style.css | 8 -------- 2 files changed, 13 deletions(-) diff --git a/professional-business/sass/blocks/_blocks.scss b/professional-business/sass/blocks/_blocks.scss index 6500d88831..95ee63e625 100644 --- a/professional-business/sass/blocks/_blocks.scss +++ b/professional-business/sass/blocks/_blocks.scss @@ -83,11 +83,6 @@ margin-right: auto; @include postContentMaxWidth(); - - @include media(tablet) { - margin-left: 0; - margin-right: 0; - } } } diff --git a/professional-business/style.css b/professional-business/style.css index 6fde067e28..9035e6cc2f 100644 --- a/professional-business/style.css +++ b/professional-business/style.css @@ -3459,14 +3459,6 @@ body.page .main-navigation { } } -@media only screen and (min-width: 768px) { - .entry .entry-content > *.aligncenter, - .entry .entry-summary > *.aligncenter { - margin-left: 0; - margin-right: 0; - } -} - /* * Unset nested content selector styles * - Prevents layout styles from cascading too deeply From 6dd193f70995f370a09332aa5a54c95df6d7de1d Mon Sep 17 00:00:00 2001 From: Allan Cole Date: Fri, 10 May 2019 17:04:06 -0400 Subject: [PATCH 3/3] Sophisticated Business: Fix Image Block alignment --- sophisticated-business/sass/blocks/_blocks.scss | 1 - sophisticated-business/style-rtl.css | 9 --------- sophisticated-business/style.css | 1 - 3 files changed, 11 deletions(-) diff --git a/sophisticated-business/sass/blocks/_blocks.scss b/sophisticated-business/sass/blocks/_blocks.scss index c2c8803869..7736c5bec1 100644 --- a/sophisticated-business/sass/blocks/_blocks.scss +++ b/sophisticated-business/sass/blocks/_blocks.scss @@ -524,7 +524,6 @@ @include postContentMaxWidth(); @include media(tablet) { - margin: 0; width: $size__site-tablet-content; img { diff --git a/sophisticated-business/style-rtl.css b/sophisticated-business/style-rtl.css index 85aae9770a..8b560e6c71 100644 --- a/sophisticated-business/style-rtl.css +++ b/sophisticated-business/style-rtl.css @@ -3413,14 +3413,6 @@ body.page .main-navigation { } } -@media only screen and (min-width: 768px) { - .entry .entry-content > *.aligncenter, - .entry .entry-summary > *.aligncenter { - margin-right: 0; - margin-left: 0; - } -} - /* * Unset nested content selector styles * - Prevents layout styles from cascading too deeply @@ -3865,7 +3857,6 @@ body.page .main-navigation { @media only screen and (min-width: 768px) { .entry .entry-content .wp-block-image .aligncenter { - margin: 0; width: calc(8 * (100vw / 12) - 28px); } .entry .entry-content .wp-block-image .aligncenter img { diff --git a/sophisticated-business/style.css b/sophisticated-business/style.css index a3dee4b8a6..3733ca6c12 100644 --- a/sophisticated-business/style.css +++ b/sophisticated-business/style.css @@ -3869,7 +3869,6 @@ body.page .main-navigation { @media only screen and (min-width: 768px) { .entry .entry-content .wp-block-image .aligncenter { - margin: 0; width: calc(8 * (100vw / 12) - 28px); } .entry .entry-content .wp-block-image .aligncenter img {