]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix border-radius of some switch variants when rounded is disabled (#38884) 39192/head
authorjonnysp <jonnysp@users.noreply.github.com>
Thu, 14 Sep 2023 18:49:14 +0000 (20:49 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2023 18:49:14 +0000 (20:49 +0200)
Co-authored-by: Julien Déramond <juderamond@gmail.com>
scss/forms/_form-check.scss

index d3a8fe60da33c272042241740d8dc04252cb2282..8a1b639dfe6f89a204f945eebc3db9e322ad49d1 100644 (file)
     margin-left: $form-switch-padding-start * -1;
     background-image: var(--#{$prefix}form-switch-bg);
     background-position: left center;
-    @include border-radius($form-switch-border-radius);
+    @include border-radius($form-switch-border-radius, 0);
     @include transition($form-switch-transition);
 
     &:focus {