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>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
.layout {
|
||||
// this margin is for fixed header
|
||||
margin-top: 55px;
|
||||
margin-top: var(--header-height);
|
||||
background-color: var(--theme-color-main-background);
|
||||
@include screen(tablet) {
|
||||
position: absolute;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
box-shadow: 0px 1px 3px 1px rgb(0 0 0 / 10%);
|
||||
background-color: var(--theme-color-background-header);
|
||||
position: fixed;
|
||||
top:0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 200;
|
||||
h1 {
|
||||
@@ -19,7 +19,6 @@
|
||||
}
|
||||
// fixes header on tablet and below
|
||||
@include screen(tablet) {
|
||||
--header-height: 3.85rem;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user