Jelajahi Sumber

made full width galleries stretch to full width

Maggie Cabrera 4 tahun lalu
induk
melakukan
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 ditekan karena terlalu besar
+ 0 - 0
seedlet/style.css.map


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini