소스 검색

Shoreditch: Prevent blocks inside the layout grid block going full width (#5459)

Ben Dwyer 3 년 전
부모
커밋
0b1a635c75
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      shoreditch/css/blocks.css

+ 2 - 2
shoreditch/css/blocks.css

@@ -30,7 +30,7 @@ Description: Used to style Gutenberg Blocks.
 	margin-right: 0;
 }
 
-.can-align-wide .alignfull,
+.can-align-wide :not(.wp-block-jetpack-layout-grid-column) > .alignfull,
 .page-template-full-width-page .alignfull,
 .page-template-panel-page .alignfull {
 	margin-left: calc(50% - 50vw);
@@ -66,7 +66,7 @@ Description: Used to style Gutenberg Blocks.
 }
 
 @media (min-width: 900px) {
-	.can-align-wide .alignfull {
+	.can-align-wide :not(.wp-block-jetpack-layout-grid-column) > .alignfull {
 		margin-left: calc(50% - 50vw + 150px + 0.5em );
 		margin-right: calc(50% - 50vw - 150px - 0.5em );
 	}