On my first gulp call, the variables for $hero-max-height-xs and $hero-min-height-sm inside the calc directives were not replaced in the generated css file.
I had to explicitly evaluate the variables with #{} to get valid css code.

SUBTHEME/scss/theme/varbase-heroslider-media.theme.scss line 29ff

    @media screen and (max-width: map-get($grid-breakpoints, "sm")) {
      top: calc(#{$hero-max-height-xs}/2);
      transform: translateY(-calc(#{$hero-max-height-xs}/2));
    }

    @media screen and (min-width: map-get($grid-breakpoints, "sm")) {
      top: calc(#{$hero-min-height-sm}/2);
      transform: translateY(-calc(#{$hero-min-height-sm}/2));
    }

Comments

unconnected created an issue. See original summary.

rajab natshah’s picture

rajab natshah’s picture

Status: Fixed » Closed (fixed)