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