Skip to content

Commit

Permalink
Fix tooltip/badge border radius when rounded disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored and mdo committed Jun 29, 2022
1 parent d4aee02 commit 9400b8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scss/_badge.scss
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scss/_tooltip.scss
Expand Up @@ -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));
}

0 comments on commit 9400b8f

Please sign in to comment.