Fix a bug where Webcam video was overflowing its container

This commit is contained in:
Artur Paikin 2018-11-16 01:52:11 +03:00
parent 677bedf600
commit 68730f8a1b

View file

@ -16,6 +16,7 @@
overflow: hidden;
background-color: $color-black;
text-align: center;
position: relative;
}
.uppy-size--md .uppy-Webcam-videoContainer {
@ -27,6 +28,12 @@
// height: 100%;
max-width: 100%;
max-height: 100%;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
}
.uppy-Webcam-video--mirrored {