Make the player fit the full width but content stay the same. For #2360
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
@import '../../../styles/mixins.scss';
|
||||
|
||||
.container {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
justify-items: center;
|
||||
height: 78vh;
|
||||
|
||||
@include screen(tablet) {
|
||||
aspect-ratio: 16 / 9;
|
||||
height: unset;
|
||||
}
|
||||
|
||||
.player,
|
||||
.poster {
|
||||
// position: static;
|
||||
// height: auto !important;
|
||||
width: 100%;
|
||||
grid-column: 1;
|
||||
grid-row: 1;
|
||||
aspect-ratio: 16 / 9;
|
||||
max-height: 75vh;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -218,6 +218,7 @@ export const OwncastPlayer: FC<OwncastPlayerProps> = ({
|
||||
controls: true,
|
||||
responsive: true,
|
||||
fluid: false,
|
||||
fill: true,
|
||||
playsinline: true,
|
||||
liveui: true,
|
||||
preload: 'auto',
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
@import '../../../styles/mixins.scss';
|
||||
|
||||
.player {
|
||||
height: auto !important;
|
||||
width: 100%;
|
||||
video {
|
||||
position: static !important;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user