File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import Title from '../../components/Title/Title';
1111import { getHeight } from '../../components/VideoBlock/VideoBlock' ;
1212import YFMWrapper from '../../components/YFMWrapper/YFMWrapper' ;
1313import { useTheme } from '../../context/theme' ;
14- import { Col , GridColumnOrderClasses , Row } from '../../grid' ;
14+ import { Col , GridColumnOrderClasses , GridJustifyContent , Row } from '../../grid' ;
1515import { TabsBlockProps } from '../../models' ;
1616import { block , getThemedValue } from '../../utils' ;
1717import { mergeVideoMicrodata } from '../../utils/microdata' ;
@@ -22,6 +22,7 @@ import './Tabs.scss';
2222
2323const b = block ( 'tabs-block' ) ;
2424
25+ // eslint-disable-next-line complexity
2526export const TabsBlock = ( {
2627 items,
2728 title,
@@ -149,7 +150,7 @@ export const TabsBlock = ({
149150 subtitle = { description }
150151 className = { b ( 'title' , { centered : centered } ) }
151152 />
152- < Row >
153+ < Row justifyContent = { centered ? GridJustifyContent . Center : undefined } >
153154 < Col sizes = { tabsColSizes } >
154155 < ButtonTabs
155156 items = { tabs }
You can’t perform that action at this time.
0 commit comments