Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaƫl Poupard <ffoodd@users.noreply.github.com>2021-01-06 09:14:54 +0300
committerGitHub <noreply@github.com>2021-01-06 09:14:54 +0300
commitacec356c811e9bcfd7999795336000ce6d609d33 (patch)
treecd6cdc3f25c7000c48ed6b96c6e9e55d4fb8f4b6 /scss/helpers
parentd1a62b47c38d2098577894e9b6340514af07754b (diff)
fix(ratio): missing variable prefix (#32501)
This is the only unprefixed custom property, and its name is very common so I think we'd better prefix it too.
Diffstat (limited to 'scss/helpers')
-rw-r--r--scss/helpers/_ratio.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/helpers/_ratio.scss b/scss/helpers/_ratio.scss
index 3c0ff330a7..2390ee3394 100644
--- a/scss/helpers/_ratio.scss
+++ b/scss/helpers/_ratio.scss
@@ -6,7 +6,7 @@
&::before {
display: block;
- padding-top: var(--aspect-ratio);
+ padding-top: var(--#{$variable-prefix}aspect-ratio);
content: "";
}
@@ -21,6 +21,6 @@
@each $key, $ratio in $aspect-ratios {
.ratio-#{$key} {
- --aspect-ratio: #{$ratio};
+ --#{$variable-prefix}aspect-ratio: #{$ratio};
}
}