Merge pull request #4136 from element-hq/valere/fix_4132

fix: FF mirrored self video lose rounding
This commit is contained in:
Valere Fedronic
2026-08-03 13:53:04 +02:00
committed by GitHub

View File

@@ -33,6 +33,9 @@ Please see LICENSE in the repository root for full details.
.media.mirror video { .media.mirror video {
transform: scaleX(-1); transform: scaleX(-1);
/* In FF if you add a transform: scale/translate/matrix filter on an element,
it'll ignore the parents' border-radius, so force back the radius to avoid UI glitch*/
border-radius: inherit;
} }
.media[data-video-fit="cover"] video { .media[data-video-fit="cover"] video {