diff --git a/front/core/components/popover/index.js b/front/core/components/popover/index.js index 96f1914f5..7c54ce494 100644 --- a/front/core/components/popover/index.js +++ b/front/core/components/popover/index.js @@ -85,10 +85,7 @@ export default class Popover extends Popup { let maxWith = maxRight - margin; let maxHeight = maxBottom - margin - arrowHeight; - const scrollbarWidth = (popoverRect.width); - const innerEl = this.windowEl.querySelector('.content > *'); - console.log(innerEl); - let width = clamp(popoverRect.width, parentRect.width, maxWith) + 20; + let width = clamp(popoverRect.width, parentRect.width, maxWith); let height = popoverRect.height; let left = parentRect.left + parentRect.width / 2 - width / 2;