mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 01:05:20 +03:00
keep aspect ratio
This commit is contained in:
parent
85982e1573
commit
c122cea479
@ -29,3 +29,16 @@
|
||||
.jsmpeg canvas {
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
/*
|
||||
Event.js
|
||||
Maintain aspect ratio and scale down the video container
|
||||
Could not find a proper tailwind css.
|
||||
*/
|
||||
.outer-max-width {
|
||||
max-width: 60%;
|
||||
}
|
||||
.aspect-ratio-box {
|
||||
padding-top: calc(9 / 16 * 100%);
|
||||
padding-bottom: 20%;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user