File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/components/organisms/FileTabs Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ export interface CubeFileTabsProps extends CubeFlexProps {
266266 onTabClick ?: ( string ) => void ;
267267 /** Handler that is called when the tab is closed. */
268268 onTabClose ?: ( string ) => void ;
269- /** Styles for the each tab pane */
269+ /** Styles for each tab pane */
270270 paneStyles ?: Styles ;
271271 /** Whether the tabs are closable */
272272 isClosable ?: boolean ;
@@ -481,8 +481,7 @@ FileTabs.TabPane = function FileTabPane(allProps: CubeFileTabProps) {
481481
482482 return (
483483 < Block
484- style = { { display : isCurrent ? 'block' : 'none' } }
485- width = "max 100%"
484+ style = { { display : isCurrent ? 'block' : 'none' , maxWidth : '100%' } }
486485 flexGrow = { 1 }
487486 { ...props }
488487 >
You can’t perform that action at this time.
0 commit comments