Browse Source

Fixed media query error from previous merge

Jason Crist 4 years ago
parent
commit
49f558ea1f

+ 6 - 6
blank-canvas-blocks/assets/ponyfill.css

@@ -100,7 +100,7 @@ img {
 	margin-right: calc(-1 * var(--wp--custom--margin--horizontal));
 	margin-right: calc(-1 * var(--wp--custom--margin--horizontal));
 }
 }
 
 
-@media only screen and (min-width: 482px) {
+@media (min-width: 480px) {
 	.wp-block[data-align="left"],
 	.wp-block[data-align="left"],
 	.wp-block[data-align="right"],
 	.wp-block[data-align="right"],
 	.wp-site-blocks .alignleft,
 	.wp-site-blocks .alignleft,
@@ -587,11 +587,6 @@ p.has-drop-cap:not(:focus):first-letter {
 	max-width: var(--wp--custom--separator--width);
 	max-width: var(--wp--custom--separator--width);
 }
 }
 
 
-.wp-block-video figcaption {
-	margin: var(--wp--custom--video--caption--margin);
-	text-align: var(--wp--custom--video--caption--text-align);
-}
-
 .wp-block-table figcaption {
 .wp-block-table figcaption {
 	font-size: var(--wp--custom--table--figcaption--typography--font-size);
 	font-size: var(--wp--custom--table--figcaption--typography--font-size);
 	text-align: center;
 	text-align: center;
@@ -602,4 +597,9 @@ p.has-drop-cap:not(:focus):first-letter {
 	padding: calc(0.5*var(--wp--custom--margin--vertical)) calc(0.5*var(--wp--custom--margin--horizontal));
 	padding: calc(0.5*var(--wp--custom--margin--vertical)) calc(0.5*var(--wp--custom--margin--horizontal));
 }
 }
 
 
+.wp-block-video figcaption {
+	margin: var(--wp--custom--video--caption--margin);
+	text-align: var(--wp--custom--video--caption--text-align);
+}
+
 /*# sourceMappingURL=ponyfill.css.map */
 /*# sourceMappingURL=ponyfill.css.map */

+ 1 - 1
blank-canvas-blocks/sass/base/_alignment.scss

@@ -3,7 +3,7 @@
 	margin-right: calc(-1 * var(--wp--custom--margin--horizontal));
 	margin-right: calc(-1 * var(--wp--custom--margin--horizontal));
 }
 }
 
 
-@include media(mobile) {
+@include break-mobile {
 	// limit size of any element that is aligned left/right 
 	// limit size of any element that is aligned left/right 
 	.wp-block[data-align="left"], // This is for the editor
 	.wp-block[data-align="left"], // This is for the editor
 	.wp-block[data-align="right"], // This is for the editor
 	.wp-block[data-align="right"], // This is for the editor