owncast/web/components/video/OwncastPlayer/OwncastPlayer.module.scss
Nathan 32c3f6a9b6
fix: #2668 Page Vertical Spacing Issues (#2863)
* fix: #2668 Page Vertical Spacing Issues

* Update test to reflect mobile work

* chore: refactor action buttons

---------

Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-04-26 15:31:23 -07:00

42 lines
676 B
SCSS

@import '../../../styles/mixins.scss';
.container {
display: grid;
width: 100%;
justify-items: center;
height: 75vh;
aspect-ratio: 16 / 9;
@media (max-width: 1200px) {
height: 100%;
max-height: 75vh;
}
@include screen(desktop) {
// prevent sidebar from overlapping stream
// padding-right: 320px;
}
//set height of player for tablet
@include screen(tablet) {
height: 400px;
max-height: 400px;
}
//set height of player for mobile
@include screen(mobile) {
height: 250px;
max-height: 250px;
}
.player,
.poster {
width: 100%;
grid-column: 1;
grid-row: 1;
}
}
.fill {
max-height: unset;
}