olefredrik / FoundationPress

FoundationPress is a WordPress starter theme based on Foundation 6 by Zurb
https://foundationpress.olefredrik.com
MIT License
2.7k stars 867 forks source link

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

Open Jeremy-Bolella opened 5 years ago

Jeremy-Bolella commented 5 years ago

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)); } }