mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
Fix a bug where Webcam video was overflowing its container
This commit is contained in:
parent
677bedf600
commit
68730f8a1b
1 changed files with 7 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue