diff --git a/frontend/web/components/navigation/TabMenu/TabButton.tsx b/frontend/web/components/navigation/TabMenu/TabButton.tsx index 55344750b09d..a43d95599c1a 100644 --- a/frontend/web/components/navigation/TabMenu/TabButton.tsx +++ b/frontend/web/components/navigation/TabMenu/TabButton.tsx @@ -8,13 +8,12 @@ interface TabButtonProps { isSelected: boolean onClick?: (e: React.MouseEvent) => void buttonTheme?: string - className?: string child: React.ReactElement children: React.ReactNode } const TabButton = React.forwardRef( - ({ buttonTheme, child, className, isSelected, noFocus, onClick }, ref) => { + ({ buttonTheme, child, isSelected, noFocus, onClick }, ref) => { return ( diff --git a/frontend/web/components/navigation/TabMenu/Tabs.tsx b/frontend/web/components/navigation/TabMenu/Tabs.tsx index 71ea4bf01e37..136073e947e4 100644 --- a/frontend/web/components/navigation/TabMenu/Tabs.tsx +++ b/frontend/web/components/navigation/TabMenu/Tabs.tsx @@ -104,7 +104,6 @@ const Tabs: React.FC = ({ () => (disableOverflow ? [] : tabChildren.slice(visibleCount)), [tabChildren, visibleCount, disableOverflow], ) - const canGrow = !isMeasuring && visibleCount === tabChildren.length const handleChange = useCallback( (e: React.MouseEvent, tabLabel: string, i: number) => { @@ -138,7 +137,7 @@ const Tabs: React.FC = ({ >
@@ -148,7 +147,6 @@ const Tabs: React.FC = ({ ) => handleChange( diff --git a/frontend/web/styles/components/_tabs.scss b/frontend/web/styles/components/_tabs.scss index aa767187f230..54ab103c8ec7 100644 --- a/frontend/web/styles/components/_tabs.scss +++ b/frontend/web/styles/components/_tabs.scss @@ -64,10 +64,6 @@ } .tabs-nav { - .tab-nav-full { - flex: 1 !important; - } - position: relative; display: flex; flex-direction: row;