Browse Source

made full width galleries stretch to full width

Maggie Cabrera 4 years ago
parent
commit
ff39d059cc

+ 6 - 0
seedlet/assets/sass/blocks/gallery/_style.scss

@@ -20,4 +20,10 @@
 	&.alignright {
 		max-width: 50%;
 	}
+
+	&.alignfull {
+		.blocks-gallery-grid {
+			width: 100%;
+		}
+	}
 }

+ 4 - 0
seedlet/style-rtl.css

@@ -1511,6 +1511,10 @@ object {
 	max-width: 50%;
 }
 
+.wp-block-gallery.alignfull .blocks-gallery-grid {
+	width: 100%;
+}
+
 .wp-block-group .wp-block-group__inner-container {
 	margin-right: auto;
 	margin-left: auto;

+ 4 - 0
seedlet/style.css

@@ -1519,6 +1519,10 @@ object {
 	max-width: 50%;
 }
 
+.wp-block-gallery.alignfull .blocks-gallery-grid {
+	width: 100%;
+}
+
 .wp-block-group .wp-block-group__inner-container {
 	margin-left: auto;
 	margin-right: auto;

File diff suppressed because it is too large
+ 0 - 0
seedlet/style.css.map


Some files were not shown because too many files changed in this diff