eb24e7cfd fix: move extend outside of mediaquery for sass compatibility
Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
// Placeholder selector for medium-and-up modals
// Prevents duplicate CSS when defining multiple Reveal sizes
+// This should be in the same breakpoint then `@mixin reveal-modal-width`
@include breakpoint(medium) {
%reveal-centered {
right: auto;
$width: $reveal-width,
$max-width: $reveal-max-width
) {
+ // Extends must be made outside of breakpoints for compatibility with newer Sass versions (libsass v3.5)
+ @extend %reveal-centered;
@include breakpoint(medium) {
- @extend %reveal-centered;
width: $width;
max-width: $max-width;
}