Browse files

fix(tooltip): inline-block element for wrappers (#572)

Adds class `d-inline-block` to the outer wrapper and trigger element wrapper as to not interfere with in-line elements/layout.

May address issue #571
  • Loading branch information...
tmorehouse authored and pi0 committed Jun 30, 2017
1 parent d89098f commit 4b680eeac32f635c9b898e1d5c6704db2401d437
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/components/tooltip.vue
@@ -1,6 +1,6 @@
<span ref="trigger"><slot></slot></span>
<div class="d-inline-block">
<span class="d-inline-block" ref="trigger"><slot></slot></span>
<div :class="['tooltip','tooltip-' + this.placement]"

0 comments on commit 4b680ee

Please sign in to comment.