فهرست منبع

Merge pull request #794 from Automattic/fix/issue761

Fix centred align block for Sophisticated and Professional Business
Allan Cole 6 سال پیش
والد
کامیت
867bd8ca2b

+ 0 - 5
professional-business/sass/blocks/_blocks.scss

@@ -83,11 +83,6 @@
 		margin-right: auto;
 
 		@include postContentMaxWidth();
-
-		@include media(tablet) {
-			margin-left: 0;
-			margin-right: 0;
-		}
 	}
 }
 

+ 0 - 8
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

+ 0 - 6
sophisticated-business/sass/blocks/_blocks.scss

@@ -83,11 +83,6 @@
 		margin-right: auto;
 
 		@include postContentMaxWidth();
-
-		@include media(tablet) {
-			margin-left: 0;
-			margin-right: 0;
-		}
 	}
 }
 
@@ -528,7 +523,6 @@
 			@include postContentMaxWidth();
 
 			@include media(tablet) {
-				margin: 0;
 				width: $size__site-tablet-content;
 
 				img {

+ 0 - 9
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 {

+ 0 - 9
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
@@ -3873,7 +3865,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 {