From c18f1375af0580a813144ac6fc38f6b2a8a34f97 Mon Sep 17 00:00:00 2001 From: "Artem I. Panchuk" Date: Fri, 25 Oct 2024 16:13:53 +0300 Subject: [PATCH] fix(AdaptiveTabs): revert padding calculation (#236) --- src/components/AdaptiveTabs/AdaptiveTabs.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AdaptiveTabs/AdaptiveTabs.tsx b/src/components/AdaptiveTabs/AdaptiveTabs.tsx index 29cb70ef..a580ba3b 100644 --- a/src/components/AdaptiveTabs/AdaptiveTabs.tsx +++ b/src/components/AdaptiveTabs/AdaptiveTabs.tsx @@ -851,7 +851,7 @@ export class AdaptiveTabs extends React.Component, Adapt const maxWidth = dimensionsWereCollected && typeof this.overflownTabsCurrentWidth[tabIndex] === 'number' - ? this.overflownTabsCurrentWidth[tabIndex] + this.tabItemPaddingRight + ? this.overflownTabsCurrentWidth[tabIndex] - this.tabItemPaddingRight : `${this.tabMaxWidthInPercentsForScreenSize[currentContainerWidthName!]}%`; const tabNode = ;