浏览代码

fixes to alignment styles

Maggie Cabrera 4 年之前
父节点
当前提交
09dbe87c9c
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      mayland-blocks/assets/alignments.css

+ 4 - 4
mayland-blocks/assets/alignments.css

@@ -29,9 +29,9 @@ body {
 }
 
 .wp-site-blocks .alignfull {
-	transform: translateX(calc(0px - var(--wp--custom--width-horizontal)));
-	width: calc(100% + (2 * var(--wp--custom--width-horizontal)));
-	max-width: calc(100% + (2 * var(--wp--custom--width-horizontal)));
+	transform: translateX(calc(0px - var(--wp--custom--margin-horizontal)));
+	width: calc(100% + (2 * var(--wp--custom--margin-horizontal)));
+	max-width: calc(100% + (2 * var(--wp--custom--margin-horizontal)));
 	margin-left: 0;
 	margin-right: 0;
 	box-sizing: content-box;
@@ -72,7 +72,7 @@ body {
 
 	.wp-site-blocks .alignfull {
 		transform: translateX(0px);
-		width: 100% + var(--wp--custom--width-horizontal));
+		width: 100% + var(--wp--custom--width-horizontal);
 		max-width: calc(100% + var(--wp--custom--width-horizontal));
 	}
 }