Fix a couple of visual glitches on Firefox

This commit is contained in:
Robin committed 2023-12-01 12:37:46 -05:00
1 parent 48c4df9cd6
commit a2e932b73f
2 files changed
+7 -1

No files matched your search

+4
View File
@@ -38,6 +38,10 @@ limitations under the License.
height: 100%;
object-fit: cover;
background-color: var(--cpd-color-bg-subtle-primary);
/* This transform is a no-op, but it forces Firefox to use a different
rendering path, one that actually clips the corners of <video> elements into
the intended rounded shape. We can remove this if Firefox stops being broken. */
transform: translate(0);
}
.videoTile.isLocal:not(.screenshare) video {