From 24fa80bff99e5bf5aa33f6d8bd62580699aa1ee1 Mon Sep 17 00:00:00 2001 From: Eugene Chybisov Date: Tue, 23 May 2023 18:44:40 +0200 Subject: [PATCH] fix: fix tab radius in split mode --- .../widget/src/components/Header/NavigationTabs.style.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/widget/src/components/Header/NavigationTabs.style.tsx b/packages/widget/src/components/Header/NavigationTabs.style.tsx index 5e6d585f2..cf834de21 100644 --- a/packages/widget/src/components/Header/NavigationTabs.style.tsx +++ b/packages/widget/src/components/Header/NavigationTabs.style.tsx @@ -9,7 +9,10 @@ export const NavbarTabs: StyledComponent = styled(Tabs)( theme.palette.mode === 'dark' ? theme.palette.common.white : alpha(theme.palette.common.black, 0.04), - borderRadius: theme.shape.borderRadius, + borderRadius: Math.max( + theme.shape.borderRadius, + theme.shape.borderRadiusSecondary, + ), padding: theme.spacing(0.5), flex: 1, display: 'flex',