react-html5-camera-photo icon indicating copy to clipboard operation
react-html5-camera-photo copied to clipboard

Unwanted bottom whitespace

Open sm2017 opened this issue 5 years ago • 2 comments

Why there is a white space bottom of video? In the following image I set a green border to video and a red border to react-html5-camera-photo div

image

In both my project and https://mabelanger.github.io/react-html5-camera-photo/ there is a white space bottom video I tried to set margin:0 padding:0 , there is no way to remove it , I also delete all other elements there is no diff

sm2017 avatar Aug 24 '20 09:08 sm2017

Hello, it's look like that video element add some margin by default, the only way to remove it is by using display: block; to the video element. Do you have a solution ? : https://css-tricks.com/forums/topic/solved-unusual-bottom-margin-on-html5-video-element/

MABelanger avatar Jul 07 '22 01:07 MABelanger

Sorry, I don't remember

sm2017 avatar Jul 09 '22 05:07 sm2017