Skip to content

Commit

Permalink
fix safari videos regression, overflow clipping images (#1938)
Browse files Browse the repository at this point in the history
  • Loading branch information
Soxasora authored Mar 3, 2025
1 parent 20b2f9d commit 8baf725
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/text.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@
width: 100%;
max-width: 100%;
height: auto;
overflow: hidden;
max-height: 25vh;
aspect-ratio: var(--aspect-ratio);
margin: 0;
Expand Down Expand Up @@ -196,14 +195,11 @@
.p:has(> .mediaContainer) .mediaContainer video
{
block-size: revert-layer;
min-width: 30%;
max-width: stretch;
}

.p.onlyImages {
display: block;
}

.p.onlyImages:has(> .mediaContainer.loaded) {
display: flex;
flex-direction: row;
flex-wrap: wrap;
Expand Down

0 comments on commit 8baf725

Please sign in to comment.