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:
parent
2a36b4b320
commit
df6facf66e
@ -5,7 +5,7 @@
|
|||||||
z-index: $zindex-popover;
|
z-index: $zindex-popover;
|
||||||
display: block;
|
display: block;
|
||||||
max-width: $popover-max-width;
|
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.
|
// 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.
|
// So reset our font and text properties to avoid inheriting weird values.
|
||||||
@include reset-text();
|
@include reset-text();
|
||||||
|
@ -606,6 +606,7 @@ $tooltip-arrow-color: $tooltip-bg !default;
|
|||||||
|
|
||||||
// Popovers
|
// Popovers
|
||||||
|
|
||||||
|
$popover-inner-padding: 1px !default;
|
||||||
$popover-bg: #fff !default;
|
$popover-bg: #fff !default;
|
||||||
$popover-max-width: 276px !default;
|
$popover-max-width: 276px !default;
|
||||||
$popover-border-width: $border-width !default;
|
$popover-border-width: $border-width !default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user