Remove extra bottom padding in InfoCard content

Fixes #5396 by overriding padding-bottom to undefined for MuiCardContent
in rootTheme.ts.

Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
Mike Lewis
2021-05-05 11:42:05 +01:00
parent 1a10956029
commit 7b8272fb7d
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/theme': patch
---
Remove extra bottom padding in InfoCard content
+3
View File
@@ -257,6 +257,9 @@ export function createThemeOverrides(theme: BackstageTheme): Overrides {
// etc) end up at the bottom of the card instead of just below the body
// contents.
flexGrow: 1,
'&:last-child': {
paddingBottom: undefined,
},
},
},
MuiCardActions: {