This repository was archived by the owner on Feb 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 310
W008
cvrebert edited this page Oct 13, 2014
·
1 revision
Tooltips and popovers within button groups should have their container set to 'body'. Found tooltips/popovers that might lack this setting.
When using tooltips or popovers on elements within a .btn-group, you'll have to specify the option container: 'body' to avoid unwanted side effects (such as the element growing wider and/or losing its rounded corners when the tooltip or popover is triggered).
One way to ensure that this option is set is to add a data-container="body attribute to elements within a .btn-group that have either a data-toggle="tooltip" or data-toggle="popover" attribute.
Bootlint documentation wiki content is licensed under the CC BY 3.0 License, and based on Bootstrap's docs which are copyright Twitter, Inc.