Add crop to fit toggle to context menu. (#2107)
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -73,7 +73,7 @@ borders don't support gradients */
|
||||
.videoTile video {
|
||||
inline-size: 100%;
|
||||
block-size: 100%;
|
||||
object-fit: cover;
|
||||
object-fit: contain;
|
||||
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
|
||||
@@ -89,6 +89,10 @@ borders don't support gradients */
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.videoTile.cropVideo video {
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.videoTile.videoMuted video {
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user