Ensure images are contained when used inside grids
This commit is contained in:
parent
7a9730b120
commit
6baf784f4a
|
@ -255,4 +255,10 @@
|
||||||
flex: 1 1 0 !important;
|
flex: 1 1 0 !important;
|
||||||
height: 0 !important;
|
height: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Grid specific CSS overrides for certain components */
|
||||||
|
.grid :global(> .component > img) {
|
||||||
|
object-fit: contain;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue