Removed popover changes
This commit is contained in:
parent
43ad139681
commit
17c8336b23
|
@ -85,10 +85,7 @@ export default class Popover extends Popup {
|
||||||
let maxWith = maxRight - margin;
|
let maxWith = maxRight - margin;
|
||||||
let maxHeight = maxBottom - margin - arrowHeight;
|
let maxHeight = maxBottom - margin - arrowHeight;
|
||||||
|
|
||||||
const scrollbarWidth = (popoverRect.width);
|
let width = clamp(popoverRect.width, parentRect.width, maxWith);
|
||||||
const innerEl = this.windowEl.querySelector('.content > *');
|
|
||||||
console.log(innerEl);
|
|
||||||
let width = clamp(popoverRect.width, parentRect.width, maxWith) + 20;
|
|
||||||
let height = popoverRect.height;
|
let height = popoverRect.height;
|
||||||
|
|
||||||
let left = parentRect.left + parentRect.width / 2 - width / 2;
|
let left = parentRect.left + parentRect.width / 2 - width / 2;
|
||||||
|
|
Loading…
Reference in New Issue