Merge pull request #68 from samuelthomas2774/fix-tooltip-positioning

Fix tooltip positioning
This commit is contained in:
Alexei Stukov 2018-02-02 17:40:37 +02:00 committed by GitHub
commit b75c8892f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@
* LICENSE file in the root directory of this source tree.
*/
import DOM from 'dom';
import Vue from 'vue';
import VTooltip from 'v-tooltip';
@ -16,7 +17,8 @@ Vue.use(VTooltip, {
defaultClass: 'bd-tooltip',
defaultTargetClass: 'bd-has-tooltip',
defaultInnerSelector: '.bd-tooltip-inner',
defaultTemplate: '<div class="bd-tooltip"><span class="bd-tooltip-inner"></span></div>'
defaultTemplate: '<div class="bd-tooltip"><span class="bd-tooltip-inner"></span></div>',
defaultBoundariesElement: DOM.getElement('#app-mount')
});
export default Vue;