Skip to content

Commit d5cbe69

Browse files
pat270mdo
authored andcommitted
Allow customizing Popover and Tooltip border-radius while I'm at it
1 parent eaca6c0 commit d5cbe69

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

scss/_popover.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
background-color: $popover-bg;
1515
background-clip: padding-box;
1616
border: $popover-border-width solid $popover-border-color;
17-
@include border-radius($border-radius-lg);
17+
@include border-radius($popover-border-radius);
1818
@include box-shadow($popover-box-shadow);
1919

2020
.arrow {

scss/_tooltip.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,5 @@
111111
color: $tooltip-color;
112112
text-align: center;
113113
background-color: $tooltip-bg;
114-
@include border-radius($border-radius);
114+
@include border-radius($tooltip-border-radius);
115115
}

scss/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ $tooltip-font-size: $font-size-sm !default;
671671
$tooltip-max-width: 200px !default;
672672
$tooltip-color: $white !default;
673673
$tooltip-bg: $black !default;
674+
$tooltip-border-radius: $border-radius !default;
674675
$tooltip-opacity: .9 !default;
675676
$tooltip-padding-y: .25rem !default;
676677
$tooltip-padding-x: .5rem !default;
@@ -688,6 +689,7 @@ $popover-bg: $white !default;
688689
$popover-max-width: 276px !default;
689690
$popover-border-width: $border-width !default;
690691
$popover-border-color: rgba($black, .2) !default;
692+
$popover-border-radius: $border-radius-lg !default;
691693
$popover-box-shadow: 0 .25rem .5rem rgba($black, .2) !default;
692694

693695
$popover-header-bg: darken($popover-bg, 3%) !default;

0 commit comments

Comments
 (0)