Fix tooltip positioning

JsSucks/BetterDiscordApp#67
This commit is contained in:
Samuel Elliott 2018-02-02 15:14:12 +00:00
parent dbc40a9850
commit 26de9a3197
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
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;