Browse Source

Merge pull request #2769 from Automattic/fix/1447

Karuna: Simplify alignfull rules
Ben Dwyer 4 years ago
parent
commit
4426de2228
2 changed files with 4 additions and 6 deletions
  1. 3 5
      karuna/blocks.css
  2. 1 1
      karuna/style.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,

+ 1 - 1
karuna/style.css

@@ -4,7 +4,7 @@ Theme URI: http://wordpress.com/themes/karuna/
 Author: Automattic
 Author URI: http://wordpress.com/themes/
 Description: Karuna is a clean business theme designed with health and wellness-focused sites in mind. With bright, bold colors, prominent featured images, and support for customer testimonials, your business' brand will shine with Karuna.
-Version: 1.2.10-wpcom
+Version: 1.2.11-wpcom
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: karuna