Browse Source

made full width galleries stretch to full width

Maggie Cabrera 4 năm trước cách đây
mục cha
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;

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
seedlet/style.css.map


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác