aboutsummaryrefslogtreecommitdiff
path: root/scss/_popover.scss
diff options
context:
space:
mode:
authorysds <[email protected]>2019-09-03 20:18:44 +0300
committerXhmikosR <[email protected]>2019-10-31 08:30:53 +0200
commitd6ebc60d3d98d48959e6e1bd4eeea4d6e8be4366 (patch)
tree07e19f5afe1e8309588c262ab8242ee11bc61c6a /scss/_popover.scss
parentc62efc3ef69d7dd6e784928b707f52884fab87de (diff)
downloadbootstrap-d6ebc60d3d98d48959e6e1bd4eeea4d6e8be4366.tar.xz
bootstrap-d6ebc60d3d98d48959e6e1bd4eeea4d6e8be4366.zip
Add add and subtract function
Diffstat (limited to 'scss/_popover.scss')
-rw-r--r--scss/_popover.scss8
1 files changed, 4 insertions, 4 deletions
diff --git a/scss/_popover.scss b/scss/_popover.scss
index 512a25fb3..6ebb2c3de 100644
--- a/scss/_popover.scss
+++ b/scss/_popover.scss
@@ -39,7 +39,7 @@
margin-bottom: $popover-arrow-height;
> .popover-arrow {
- bottom: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
+ bottom: subtract(-$popover-arrow-height, $popover-border-width);
&::before {
bottom: 0;
@@ -59,7 +59,7 @@
margin-left: $popover-arrow-height;
> .popover-arrow {
- left: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
+ left: subtract(-$popover-arrow-height, $popover-border-width);
width: $popover-arrow-height;
height: $popover-arrow-width;
margin: $popover-border-radius 0; // make sure the arrow does not touch the popover's rounded corners
@@ -82,7 +82,7 @@
margin-top: $popover-arrow-height;
> .popover-arrow {
- top: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
+ top: subtract(-$popover-arrow-height, $popover-border-width);
&::before {
top: 0;
@@ -114,7 +114,7 @@
margin-right: $popover-arrow-height;
> .popover-arrow {
- right: calc((#{$popover-arrow-height} + #{$popover-border-width}) * -1);
+ right: subtract(-$popover-arrow-height, $popover-border-width);
width: $popover-arrow-height;
height: $popover-arrow-width;
margin: $popover-border-radius 0; // make sure the arrow does not touch the popover's rounded corners