Skip to content

Commit

Permalink
move class to utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Dec 9, 2021
1 parent e8614ee commit b0d7f66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions blockbase/assets/ponyfill.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions blockbase/sass/base/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
9 changes: 8 additions & 1 deletion blockbase/sass/base/_utility.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

// Provided to allow a group to prevent the standard gap from being used between elements
.gapless-group {
> * {
margin-top: 0 !important;
}
}

0 comments on commit b0d7f66

Please sign in to comment.