mirror of
https://github.com/owncast/owncast.git
synced 2024-12-24 18:18:24 +03:00
c2a0295a0c
* - set vars for player container height and status bar height - use them to calculate mobile top spacing to adjust for tab content positioning * give main content section a min height, place footer absolutely at bottom; rm all the fixed footer styling * cleanup; restructure tabbed display logic and css a bit * Prettified Code! * cleanup * fix(story): footer story needs to be wrapped in RecoilRoot if it is to use Recoil * revert adding footer to mobile about section * prevent double scrolling --------- Co-authored-by: gingervitis <gingervitis@users.noreply.github.com> Co-authored-by: Gabe Kangas <gabek@real-ity.com>
37 lines
686 B
SCSS
37 lines
686 B
SCSS
@import '../../../styles/mixins.scss';
|
|
|
|
.container {
|
|
display: grid;
|
|
width: 100%;
|
|
justify-items: center;
|
|
height: var(--player-container-height);
|
|
aspect-ratio: 16 / 9;
|
|
|
|
@media (max-width: 1200px) {
|
|
height: 100%;
|
|
max-height: var(--player-container-height);
|
|
}
|
|
|
|
@include screen(desktop) {
|
|
// prevent sidebar from overlapping stream
|
|
// padding-right: 320px;
|
|
}
|
|
|
|
//set height of player for tablet
|
|
@include screen(tablet) {
|
|
height: var(--player-container-height);
|
|
max-height: var(--player-container-height);
|
|
}
|
|
|
|
.player,
|
|
.poster {
|
|
width: 100%;
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
}
|
|
|
|
.embedded {
|
|
height: 100vh;
|
|
max-height: unset;
|
|
}
|