Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.
Herst edited this page Sep 8, 2018 · 2 revisions

Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!


W008

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.

Clone this wiki locally