fix(ui): set CardBody minimum height
Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user