Ensure images are contained when used inside grids

This commit is contained in:
Andrew Kingston 2024-08-14 09:59:02 +01:00
parent 7a9730b120
commit 6baf784f4a
No known key found for this signature in database
1 changed files with 6 additions and 0 deletions

View File

@ -255,4 +255,10 @@
flex: 1 1 0 !important;
height: 0 !important;
}
/* Grid specific CSS overrides for certain components */
.grid :global(> .component > img) {
object-fit: contain;
max-height: 100%;
}
</style>