rWidth - padding - left;
                    let newWidth = Math.min(availableWidthRight * 2, maxWidth);
                    newWidth = dynamicMinWidth < 150 ? dynamicMinWidth : newWidth;
                    tooltipEl.style.width = newWidth + 'px';

                    tooltipRect = tooltipEl.getBoundingClientRect();
                    let adjustedLeft = padding + tooltipRect.width / 2;
                    tooltipEl.style.left = `${adjustedLeft}px`;
                    tooltipEl.style.transform = 'translat