0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Alternate fix to #19006: Add a single variable for controlling that inner 1px padding on .popover

This commit is contained in:
Mark Otto 2016-05-12 11:12:22 -07:00
parent 2a36b4b320
commit df6facf66e
2 changed files with 2 additions and 1 deletions

View File

@ -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();

View File

@ -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;