]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix tooltip/badge border radius when rounded disabled
authorJulien Déramond <juderamond@gmail.com>
Wed, 29 Jun 2022 20:14:49 +0000 (22:14 +0200)
committerMark Otto <otto@github.com>
Wed, 29 Jun 2022 20:41:33 +0000 (13:41 -0700)
scss/_badge.scss
scss/_tooltip.scss

index 5f1695e7ae2983f333c31097a8e866c9531fdfd6..cc3d2695566a65f771933d18ee378daf8dd26513 100644 (file)
@@ -22,7 +22,7 @@
   text-align: center;
   white-space: nowrap;
   vertical-align: baseline;
-  border-radius: var(--#{$prefix}badge-border-radius, 0); // stylelint-disable-line property-disallowed-list
+  @include border-radius(var(--#{$prefix}badge-border-radius));
   @include gradient-bg();
 
   // Empty badges collapse automatically
index df8cdc58b774860397ee4764edebc2e1abfb2fc6..7da3df3e00c6b0768d7f9960f7f346b1bde62310 100644 (file)
   color: var(--#{$prefix}tooltip-color);
   text-align: center;
   background-color: var(--#{$prefix}tooltip-bg);
-  border-radius: var(--#{$prefix}tooltip-border-radius, 0); // stylelint-disable-line property-disallowed-list
+  @include border-radius(var(--#{$prefix}tooltip-border-radius));
 }