diff options
author | Mark Otto <markd.otto@gmail.com> | 2021-06-14 19:35:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-14 19:35:30 +0300 |
commit | be17444756c48e3a892c36507f859cd841bd8c1f (patch) | |
tree | 0fae73c54f82eda6321bea3e759cc184690710e9 /scss/_carousel.scss | |
parent | e9da490e510298086e93fe829949a67657443be5 (diff) |
Replace `/` division with multiplication and custom `divide()` function (#34245)
* Convert bulk of division to multiplication
* Use custom divide() function instead of Dart Sass math module for greater compatibility
* Apply suggestions from code review
* Fix functions
Diffstat (limited to 'scss/_carousel.scss')
-rw-r--r-- | scss/_carousel.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_carousel.scss b/scss/_carousel.scss index d389c3042e..3d8fb15a06 100644 --- a/scss/_carousel.scss +++ b/scss/_carousel.scss @@ -202,9 +202,9 @@ .carousel-caption { position: absolute; - right: (100% - $carousel-caption-width) / 2; + right: (100% - $carousel-caption-width) * .5; bottom: $carousel-caption-spacer; - left: (100% - $carousel-caption-width) / 2; + left: (100% - $carousel-caption-width) * .5; padding-top: $carousel-caption-padding-y; padding-bottom: $carousel-caption-padding-y; color: $carousel-caption-color; |