fix safari videos regression, overflow clipping images (#1938)
This commit is contained in:
parent
20b2f9d4c6
commit
8baf725a37
@ -167,7 +167,6 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
overflow: hidden;
|
|
||||||
max-height: 25vh;
|
max-height: 25vh;
|
||||||
aspect-ratio: var(--aspect-ratio);
|
aspect-ratio: var(--aspect-ratio);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -196,14 +195,11 @@
|
|||||||
.p:has(> .mediaContainer) .mediaContainer video
|
.p:has(> .mediaContainer) .mediaContainer video
|
||||||
{
|
{
|
||||||
block-size: revert-layer;
|
block-size: revert-layer;
|
||||||
|
min-width: 30%;
|
||||||
max-width: stretch;
|
max-width: stretch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.p.onlyImages {
|
.p.onlyImages {
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.p.onlyImages:has(> .mediaContainer.loaded) {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user