Browse Source

Karuna: Simplify alignfull rules

Ben Dwyer 4 years ago
parent
commit
1c27d92f79
1 changed files with 3 additions and 5 deletions
  1. 3 5
      karuna/blocks.css

+ 3 - 5
karuna/blocks.css

@@ -27,13 +27,11 @@ Description: Used to style Gutenberg Blocks.
 /* Full Width */
 
 .no-sidebar .alignfull {
-	width: 100vw;
+	margin-left: calc(50% - 50vw);
+	margin-right: calc(50% - 50vw);
 	max-width: 100vw;
-	margin-left: 0;
-	margin-right: 0;
 	position: relative;
-	left: 50%;
-	transform: translateX( -50% );
+	width: 100vw;
 }
 
 .no-sidebar .wp-block-columns.alignfull,