Use top/left to position tooltips/popovers and remove BdMenuItems from global
This commit is contained in:
parent
ac79bbb99b
commit
3f2eb1047e
|
@ -31,8 +31,6 @@ let items = 0;
|
|||
|
||||
export const BdMenuItems = new class {
|
||||
constructor() {
|
||||
window.bdmenu = this;
|
||||
|
||||
this.items = [];
|
||||
|
||||
const updater = this.add({category: 'Updates', contentid: 'updater', text: 'Updates available!', hidden: true});
|
||||
|
|
|
@ -26,7 +26,21 @@ Vue.use(VTooltip, {
|
|||
defaultWrapperClass: 'bd-popover-wrapper',
|
||||
defaultInnerClass: 'bd-popover-inner',
|
||||
defaultArrowClass: 'bd-popover-arrow',
|
||||
defaultBoundariesElement: DOM.getElement('#app-mount')
|
||||
defaultBoundariesElement: DOM.getElement('#app-mount'),
|
||||
defaultPopperOptions: {
|
||||
modifiers: {
|
||||
computeStyle: {
|
||||
gpuAcceleration: false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
defaultPopperOptions: {
|
||||
modifiers: {
|
||||
computeStyle: {
|
||||
gpuAcceleration: false
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue