assets/stylesheets/bootstrap/helpers/_ratio.scss in bootstrap-5.1.3 vs assets/stylesheets/bootstrap/helpers/_ratio.scss in bootstrap-5.2.0
- old
+ new
@@ -4,11 +4,11 @@
position: relative;
width: 100%;
&::before {
display: block;
- padding-top: var(--#{$variable-prefix}aspect-ratio);
+ padding-top: var(--#{$prefix}aspect-ratio);
content: "";
}
> * {
position: absolute;
@@ -19,8 +19,8 @@
}
}
@each $key, $ratio in $aspect-ratios {
.ratio-#{$key} {
- --#{$variable-prefix}aspect-ratio: #{$ratio};
+ --#{$prefix}aspect-ratio: #{$ratio};
}
}