aboutsummaryrefslogtreecommitdiff
path: root/scss/_tooltip.scss
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-01-17 22:23:29 -0800
committerChris Rebert <[email protected]>2016-01-17 22:23:29 -0800
commit032adf13242e701acece5bbfe6bfebc4f77707ee (patch)
treec62e73914eda91a592687f23a0b7d3245bc5accb /scss/_tooltip.scss
parent27596f48f4c84f823a2b4cb6ff3e4fc55ced6344 (diff)
downloadbootstrap-032adf13242e701acece5bbfe6bfebc4f77707ee.tar.xz
bootstrap-032adf13242e701acece5bbfe6bfebc4f77707ee.zip
Apply word-wrap:break-word to Tooltips and Popovers
Fixes #16871 for v4
Diffstat (limited to 'scss/_tooltip.scss')
-rw-r--r--scss/_tooltip.scss2
1 files changed, 2 insertions, 0 deletions
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; }