Add flexWrap to root style in Table component (#32199)

* Add flexWrap to root style in Table component

Resolves #32120 by adding flexWrap: 'wrap' to the table toolbar root container, preventing layout breaks when both a title and filters are present.

Signed-off-by: Harshal Jain <harshaljaincs@gmail.com>

* Fix Table component layout issue with title and filters

Fixed bug in Table component layout when both title and filters are present. Added flexWrap: 'wrap' to improve responsive design.

Signed-off-by: HarshalJain-cs <harshajaincs@gmail.com>

Signed-off-by: Harshal Jain <harshaljaincs@gmail.com>

* Fix Table component layout issue with title and filters

Added flexWrap: 'wrap' to the root style of the Table component to prevent layout overflow and improve responsive design.

Signed-off-by: Ben Lambert <ben@blam.sh>

---------

Signed-off-by: Harshal Jain <harshaljaincs@gmail.com>
Signed-off-by: Ben Lambert <ben@blam.sh>
Co-authored-by: Ben Lambert <ben@blam.sh>
This commit is contained in:
Harshal Jain
2026-01-20 19:47:54 +05:30
committed by GitHub
parent 4f71370dd6
commit c671db9fec
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -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.
@@ -186,6 +186,7 @@ const useFilterStyles = makeStyles(
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
flexWrap: 'wrap',
},
title: {
fontWeight: theme.typography.fontWeightBold,