forked from External/mediamtx
hls, webrtc: in web page, prevent video from overflowing (#2958)
This commit is contained in:
parent
320f5a7a21
commit
b32bc8dee9
3 changed files with 10 additions and 3 deletions
|
|
@ -11,6 +11,9 @@ html, body {
|
|||
font-family: 'Arial', sans-serif;
|
||||
}
|
||||
#video {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgb(30, 30, 30);
|
||||
|
|
@ -22,7 +25,7 @@ html, body {
|
|||
justify-content: center;
|
||||
padding: 10px;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
background: rgb(30, 30, 30);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue