Change navbar-height to header-height in langing pages
This commit is contained in:
parent
25b98c9af0
commit
d6fa3a87fa
|
@ -212,7 +212,7 @@ export class DataProviderComponent {
|
|||
|
||||
ngAfterViewInit() {
|
||||
if (typeof document !== 'undefined') {
|
||||
this.offset = Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue('--navbar-height'));
|
||||
this.offset = Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue('--header-height'));
|
||||
// let bottom = document.getElementById('bottom');
|
||||
// if(bottom) {
|
||||
// let observer = new IntersectionObserver(entries => {
|
||||
|
|
|
@ -190,7 +190,7 @@ export class OrganizationComponent {
|
|||
|
||||
ngAfterViewInit() {
|
||||
if (typeof document !== 'undefined') {
|
||||
this.offset = Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue('--navbar-height'));
|
||||
this.offset = Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue('--header-height'));
|
||||
// let bottom = document.getElementById('bottom');
|
||||
// if(bottom) {
|
||||
// let observer = new IntersectionObserver(entries => {
|
||||
|
|
|
@ -232,7 +232,7 @@ export class ProjectComponent {
|
|||
|
||||
ngAfterViewInit() {
|
||||
if (typeof document !== 'undefined') {
|
||||
this.offset = Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue('--navbar-height'));
|
||||
this.offset = Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue('--header-height'));
|
||||
// let bottom = document.getElementById('bottom');
|
||||
// if(bottom) {
|
||||
// let observer = new IntersectionObserver(entries => {
|
||||
|
|
|
@ -225,7 +225,7 @@ export class ResultLandingComponent {
|
|||
|
||||
ngAfterViewInit() {
|
||||
if (typeof document !== 'undefined') {
|
||||
this.offset = Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue('--navbar-height'));
|
||||
this.offset = Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue('--header-height'));
|
||||
// let bottom = document.getElementById('bottom');
|
||||
// if(bottom) {
|
||||
// let observer = new IntersectionObserver(entries => {
|
||||
|
|
|
@ -14,7 +14,7 @@ declare var UIkit;
|
|||
template: `
|
||||
<form *ngIf="user && form" [formGroup]="form">
|
||||
<ng-template [ngIf]="form.get('notify')">
|
||||
<label><input name="notify" type="checkbox" class="uk-checkbox" formControlName="notify"> {{label}}</label>
|
||||
<label><input name="notify" type="checkbox" class="uk-checkbox" formControlName="notify"><span class="uk-margin-xsmall-left">{{label}}</span></label>
|
||||
<div [class.uk-hidden]="!form.get('notify').value" class="uk-position-relative uk-margin-medium-top">
|
||||
<div class="notification-user">
|
||||
<notification-user [name]="user.firstname" [surname]="user.lastname"></notification-user>
|
||||
|
@ -23,16 +23,6 @@ declare var UIkit;
|
|||
</div>
|
||||
</ng-template>
|
||||
<ng-template [ngIf]="form.get('groups') && availableGroups">
|
||||
<!--<div class="uk-grid uk-grid-small" uk-grid>
|
||||
<span style="opacity: 0.5;" class="uk-text-bold uk-margin-top">Send to: </span>
|
||||
<div [class.uk-hidden]="focused" class="uk-width-expand uk-margin-small" (click)="focus($event)">
|
||||
<span *ngIf="groups.length === 0" class="placeholder">Add a recipient</span>
|
||||
<span *ngIf="groups.length > 0" [attr.uk-tooltip]="(groups.length > 2)?groups.join(', '):null">
|
||||
{{groups.slice(0, 2).join(', ')}}
|
||||
<span *ngIf="groups.length > 2" style="opacity: 0.5; margin-left: 4px">+ {{groups.length - 2}} more</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>-->
|
||||
<div #recipients input type="chips" [options]="availableGroups" [showOptionsOnEmpty]="false"
|
||||
placeholder="Sent to:" hint="Add a recipient" inputClass="recipients" [formInput]="form.get('groups')">
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue