diff --git a/.changeset/fix-table-layout.md b/.changeset/fix-table-layout.md new file mode 100644 index 0000000000..6db671d1fd --- /dev/null +++ b/.changeset/fix-table-layout.md @@ -0,0 +1,5 @@ +--- +'@backstage/core-components': patch +--- + +Fixed bug in Table component where the toolbar layout would break when both a title and filters were present. diff --git a/packages/core-components/src/components/Table/Table.tsx b/packages/core-components/src/components/Table/Table.tsx index 0287cfdf40..59220abbaf 100644 --- a/packages/core-components/src/components/Table/Table.tsx +++ b/packages/core-components/src/components/Table/Table.tsx @@ -186,6 +186,7 @@ const useFilterStyles = makeStyles( display: 'flex', alignItems: 'center', justifyContent: 'space-between', + flexWrap: 'wrap', }, title: { fontWeight: theme.typography.fontWeightBold,