From 17c8336b232284be8de616ee2e592b40d0c99f2e Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Wed, 11 Mar 2020 09:39:05 +0100 Subject: [PATCH] Removed popover changes --- front/core/components/popover/index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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;