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
Comment #2
rajab natshahThanks, Volker for reporting!
#3106640: Fix deprecated override file for [Varbase Media Hero Slider] theming in Vartheme BS4 Sub-themes
Comment #3
rajab natshah