Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

editor.scss error with .wp-block class #1388

Open
Jeremy-Bolella opened this issue Jun 10, 2019 · 0 comments
Open

editor.scss error with .wp-block class #1388

Jeremy-Bolella opened this issue Jun 10, 2019 · 0 comments

Comments

@Jeremy-Bolella
Copy link

With FoundationPress 2.10.5 and 2.10.6 there's an error in _editor.scss with the .wp-block class. It seems like this isn't effecting how gutenberg works but the class is being exported and is invalid.
_editor.scss:

/** === Content Width === */
.wp-block {
	width: calc(100vw - (2 * 10));
	@each $breakpoint, $size in $grid-margin-gutters {

		@include breakpoint($breakpoint) {
			width: calc(100vw - ($size));
		}

	}
}

editor.css

/** === Content Width === */
.wp-block {
  width: calc(100vw - (2 * 10));
  width: calc(100vw - ($size)); }
  @media print, screen and (min-width: 40em) {
    .wp-block {
      width: calc(100vw - ($size)); } }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant