Merge pull request #15451 from FabienGreard/main

Fix https://github.com/strapi/strapi/issues/15275
This commit is contained in:
Josh 2023-01-16 09:53:17 +00:00 committed by GitHub
commit 89e6107ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ const VideoPreviewWrapper = styled(Box)`
canvas,
video {
display: block;
pointer-events: none;
max-width: 100%;
max-height: ${({ size }) => (size === 'M' ? 164 / 16 : 88 / 16)}rem;
}

View File

@ -332,6 +332,7 @@ exports[`MediaLibrary / AssetList snapshots the asset list 1`] = `
.c28 canvas,
.c28 video {
display: block;
pointer-events: none;
max-width: 100%;
max-height: 10.25rem;
}

View File

@ -680,6 +680,7 @@ exports[`PendingAssetStep snapshots the component with valid cards 1`] = `
.c50 canvas,
.c50 video {
display: block;
pointer-events: none;
max-width: 100%;
max-height: 5.5rem;
}