by
back

Bootstrap btn-group & tooltip lets btn grow

For example imagine a previous-next button group where the previous button is first and the next button is second.

Giving those Buttons a Bootstrap tooltip makes the next (the second) button jump on hovering the first.

Bootstrap Tooltip combined with btn-group grows button on hover

.btn-group > .btn + .btn {
    margin-left: 0;
}

This worked for me. The code will address all btn's that are directly inside of btn-group and have a previous btn.

comments powered by Disqus