diff options
| author | Mark Otto <[email protected]> | 2016-05-12 11:12:22 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-05-12 11:12:22 -0700 |
| commit | df6facf66e19566b962327899f981258b695076c (patch) | |
| tree | e8b74532e8612a367ef5dfa18c94439b2c14872e | |
| parent | 2a36b4b320fb18f5bc21513e9bf164159a1acf1e (diff) | |
| download | bootstrap-df6facf66e19566b962327899f981258b695076c.tar.xz bootstrap-df6facf66e19566b962327899f981258b695076c.zip | |
Alternate fix to #19006: Add a single variable for controlling that inner 1px padding on .popover
| -rw-r--r-- | scss/_popover.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_popover.scss b/scss/_popover.scss index 9ea8c1475..a5de83c37 100644 --- a/scss/_popover.scss +++ b/scss/_popover.scss @@ -5,7 +5,7 @@ z-index: $zindex-popover; display: block; max-width: $popover-max-width; - padding: 1px; + padding: $popover-inner-padding; // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element. // So reset our font and text properties to avoid inheriting weird values. @include reset-text(); diff --git a/scss/_variables.scss b/scss/_variables.scss index d50d8e281..d129f9fee 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -606,6 +606,7 @@ $tooltip-arrow-color: $tooltip-bg !default; // Popovers +$popover-inner-padding: 1px !default; $popover-bg: #fff !default; $popover-max-width: 276px !default; $popover-border-width: $border-width !default; |
