owncast/web/components/layouts/Main/Main.module.scss
Nathan 04848c1d8c
fix:#2954-player-gets-cut-off-vertically (#2987)
* fix:#2954-player-gets-cut-off-vertically

* Use header-height variable everywhere

---------

Co-authored-by: thisProjects <wibbet@wobbet.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2023-05-05 11:10:28 -07:00

24 lines
450 B
SCSS

@import '../../../styles/mixins.scss';
.layout {
// this margin is for fixed header
margin-top: var(--header-height);
background-color: var(--theme-color-main-background);
@include screen(tablet) {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
// this one is for fixed footer
margin-bottom: 30px;
}
@include screen(mobile) {
margin-bottom: 0px;
footer {
display: none;
}
}
}