0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Fix tooltip/badge border radius when rounded disabled

This commit is contained in:
Julien Déramond 2022-06-29 22:14:49 +02:00 committed by Mark Otto
parent d4aee02458
commit 9400b8f2f9
2 changed files with 2 additions and 2 deletions

View 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

View File

@ -116,5 +116,5 @@
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));
}