Parcourir la source

made full width galleries stretch to full width

Maggie Cabrera il y a 4 ans
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;

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
seedlet/style.css.map


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff