From b0d7f66176a66f65d4e4370739256f4e525cebbd Mon Sep 17 00:00:00 2001
From: Ben Dwyer <ben@scruffian.com>
Date: Thu, 9 Dec 2021 11:38:19 +0000
Subject: [PATCH] move class to utilities

---
 blockbase/assets/ponyfill.css     | 8 ++++----
 blockbase/sass/base/_layout.scss  | 7 -------
 blockbase/sass/base/_utility.scss | 9 ++++++++-
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/blockbase/assets/ponyfill.css b/blockbase/assets/ponyfill.css
index 49116754e8..779450fb91 100644
--- a/blockbase/assets/ponyfill.css
+++ b/blockbase/assets/ponyfill.css
@@ -186,10 +186,6 @@ body.admin-bar .wp-site-blocks {
 	min-height: calc( 100vh - var(--wpadmin-bar--height));
 }
 
-.gapless-group > * {
-	margin-top: 0 !important;
-}
-
 .image-no-margin {
 	margin: 0;
 }
@@ -206,6 +202,10 @@ body.admin-bar .wp-site-blocks {
 	margin-top: 0 !important;
 }
 
+.gapless-group > * {
+	margin-top: 0 !important;
+}
+
 /**
  * Elements
  * - Styles for basic HTML elemants
diff --git a/blockbase/sass/base/_layout.scss b/blockbase/sass/base/_layout.scss
index b2b3e11459..6da4af4ad5 100644
--- a/blockbase/sass/base/_layout.scss
+++ b/blockbase/sass/base/_layout.scss
@@ -21,10 +21,3 @@ body.admin-bar {
 		min-height: calc( 100vh - var(--wpadmin-bar--height) );
 	}
 }
-
-// Provided to allow a group to prevent the standard gap from being used between elements
-.gapless-group {
-	> * {
-		margin-top: 0 !important;
-	}
-}
\ No newline at end of file
diff --git a/blockbase/sass/base/_utility.scss b/blockbase/sass/base/_utility.scss
index b0a46b31c7..427b9ab7d9 100644
--- a/blockbase/sass/base/_utility.scss
+++ b/blockbase/sass/base/_utility.scss
@@ -16,4 +16,11 @@
 // For when we do not want the vertical block gap. Needed until we have per-block margin controls.
 .mt-0 {
 	margin-top: 0 !important;
-}
\ No newline at end of file
+}
+
+// Provided to allow a group to prevent the standard gap from being used between elements
+.gapless-group {
+	> * {
+		margin-top: 0 !important;
+	}
+}