diff --git a/packages/synapse-react-client/src/components/entity/page/title_bar/EntityPageTitleBar.tsx b/packages/synapse-react-client/src/components/entity/page/title_bar/EntityPageTitleBar.tsx index db0e54e2db..da1ff7f42a 100644 --- a/packages/synapse-react-client/src/components/entity/page/title_bar/EntityPageTitleBar.tsx +++ b/packages/synapse-react-client/src/components/entity/page/title_bar/EntityPageTitleBar.tsx @@ -48,14 +48,9 @@ export default function EntityPageTitleBar(props: EntityPageTitleBarProps) { }} > ({ - [theme.breakpoints.down('sm')]: { - flexDirection: 'column', - }, - [theme.breakpoints.up('sm')]: { - flexDirection: 'row', - }, - })} + sx={{ + flexDirection: { xs: 'column', sm: 'row' }, + }} >