1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 16:50:00 +02:00

Apply word-wrap:break-word to Tooltips and Popovers

Fixes #16871 for v4
This commit is contained in:
Chris Rebert
2016-01-17 22:23:29 -08:00
parent 27596f48f4
commit 032adf1324
3 changed files with 5 additions and 2 deletions

View File

@@ -10,6 +10,8 @@
// 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;