Fixed CSS issue video player to not display correctly on widescreen resolutions
This commit is contained in:
@@ -404,6 +404,9 @@ h4 {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
position: relative;
|
position: relative;
|
||||||
background: #000;
|
background: #000;
|
||||||
|
overflow: hidden;
|
||||||
|
min-height: 0;
|
||||||
|
/* Allow flex child to shrink */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Favorites */
|
/* Favorites */
|
||||||
@@ -443,7 +446,10 @@ h4 {
|
|||||||
#video-player {
|
#video-player {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
max-height: 100%;
|
||||||
background: #000;
|
background: #000;
|
||||||
|
object-fit: contain;
|
||||||
|
/* Maintain aspect ratio without overflow */
|
||||||
}
|
}
|
||||||
|
|
||||||
.player-overlay {
|
.player-overlay {
|
||||||
|
|||||||
Reference in New Issue
Block a user