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:
authorjonnysp <jonnysp@users.noreply.github.com>2022-10-23 09:29:50 +0300
committerMark Otto <otto@github.com>2022-10-23 19:51:51 +0300
commitdb60ae0625ee989c8fe08076663759c287207c9a (patch)
tree545ff0528eeded5dbb62af09ee0a723f7d327fac
parent7cb376a8fd2133d28960c3a1a1fa2b5016747bae (diff)
fix
-rw-r--r--scss/_button-group.scss4
-rw-r--r--scss/forms/_input-group.scss2
2 files changed, 3 insertions, 3 deletions
diff --git a/scss/_button-group.scss b/scss/_button-group.scss
index 79b100cbfb..eb7969a2d1 100644
--- a/scss/_button-group.scss
+++ b/scss/_button-group.scss
@@ -39,7 +39,7 @@
// Prevent double borders when buttons are next to each other
> :not(.btn-check:first-child) + .btn,
> .btn-group:not(:first-child) {
- margin-left: -$btn-border-width;
+ margin-left: calc($btn-border-width * -1); // stylelint-disable-line function-disallowed-list
}
// Reset rounded corners
@@ -126,7 +126,7 @@
> .btn:not(:first-child),
> .btn-group:not(:first-child) {
- margin-top: -$btn-border-width;
+ margin-top: calc($btn-border-width * -1); // stylelint-disable-line function-disallowed-list
}
// Reset rounded corners
diff --git a/scss/forms/_input-group.scss b/scss/forms/_input-group.scss
index 247f74a7ac..d6370ed7f0 100644
--- a/scss/forms/_input-group.scss
+++ b/scss/forms/_input-group.scss
@@ -121,7 +121,7 @@
}
> :not(:first-child):not(.dropdown-menu)#{$validation-messages} {
- margin-left: -$input-border-width;
+ margin-left: calc($input-border-width * -1); // stylelint-disable-line function-disallowed-list
@include border-start-radius(0);
}