From 032adf13242e701acece5bbfe6bfebc4f77707ee Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 17 Jan 2016 22:23:29 -0800 Subject: Apply word-wrap:break-word to Tooltips and Popovers Fixes #16871 for v4 --- scss/_tooltip.scss | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scss/_tooltip.scss') diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss index a17aefc0a..e8151af07 100644 --- a/scss/_tooltip.scss +++ b/scss/_tooltip.scss @@ -7,6 +7,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 tooltip's bounds + word-wrap: break-word; opacity: 0; &.in { opacity: $tooltip-opacity; } -- cgit v1.2.3