Fixes Header Bar Behavior
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
background-color: #2e2e2e;
|
||||
width: 50%;
|
||||
height: 90vh;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 10vh;
|
||||
right: 0;
|
||||
overflow: hidden !important;
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
.wrapper {
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.header {
|
||||
top: 0;
|
||||
left: 0;
|
||||
@@ -11,6 +6,7 @@
|
||||
width: 100vw;
|
||||
|
||||
background-color: #2e2e2e;
|
||||
z-index: 50;
|
||||
|
||||
height: 10vh;
|
||||
min-height: 80px;
|
||||
@@ -114,6 +110,10 @@ app-header-slider {
|
||||
max-width: 1333px;
|
||||
}
|
||||
|
||||
.slider-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
all: unset;
|
||||
width: 50%;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<div class="wrapper">
|
||||
<div class="header">
|
||||
<div class="main" #header>
|
||||
<div class="logo">
|
||||
@@ -87,6 +86,5 @@
|
||||
</app-user-slider>
|
||||
</app-header-slider>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header-spacer"></div>
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
OnDestroy,
|
||||
OnInit,
|
||||
ViewChild,
|
||||
ViewContainerRef,
|
||||
ViewContainerRef, ViewEncapsulation,
|
||||
} from '@angular/core';
|
||||
import { faUser } from '@fortawesome/free-solid-svg-icons';
|
||||
import { LoginComponent } from './header-popup/login/login.component';
|
||||
|
||||
@@ -6,6 +6,13 @@
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
html, body {
|
||||
width: 100vw;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
||||
Reference in New Issue
Block a user