mirror of
https://github.com/owncast/owncast.git
synced 2025-01-02 06:37:36 +03:00
32c3f6a9b6
* 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>
42 lines
676 B
SCSS
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;
|
|
}
|