// So reset our font and text properties to avoid inheriting weird values.
@include reset-text();
font-size: $font-size-sm;
+ // Allow breaking very long words so they don't overflow the popover's bounds
+ word-wrap: break-word;
background-color: $popover-bg;
background-clip: padding-box;
border: $popover-border-width solid $popover-border-color;
// So reset our font and text properties to avoid inheriting weird values.
@include reset-text();
font-size: $font-size-sm;
+ // Allow breaking very long words so they don't overflow the tooltip's bounds
+ word-wrap: break-word;
opacity: 0;
&.in { opacity: $tooltip-opacity; }
@mixin reset-text {
font-family: $font-family-base;
- // We deliberately do NOT reset font-size.
+ // We deliberately do NOT reset font-size or word-wrap.
font-style: normal;
font-weight: normal;
letter-spacing: normal;
white-space: normal;
word-break: normal;
word-spacing: normal;
- word-wrap: normal;
}