]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix
authorjonnysp <jonnysp@users.noreply.github.com>
Sun, 23 Oct 2022 06:29:50 +0000 (08:29 +0200)
committerMark Otto <otto@github.com>
Sun, 23 Oct 2022 16:51:51 +0000 (12:51 -0400)
scss/_button-group.scss
scss/forms/_input-group.scss

index 79b100cbfbd466c27ba425d15043eaa7c1b475ad..eb7969a2d1facabf5392b68b110d9086c9191225 100644 (file)
@@ -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
 
   > .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
index 247f74a7ac500137db2c666985beecbd404e18a6..d6370ed7f0756ab4a07abde92f0bd78c933c7ad1 100644 (file)
   }
 
   > :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);
   }