Merge pull request #34069 from backstage/cursor/cardbody-min-height

fix(ui): set CardBody minimum height
This commit is contained in:
Charles de Dreuille
2026-04-27 10:00:52 +01:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/ui': patch
---
Fixed `CardBody` showing an unwanted scrollbar when constrained below the scroll shadow height.
**Affected components:** Card
@@ -94,7 +94,7 @@
.bui-CardBody {
flex: 1;
min-height: 0;
min-height: var(--bui-space-6);
overflow: auto;
padding-inline: var(--bui-space-3);
padding-block: var(--bui-space-3);