Fix sidebar special item. Remove padding from page-content-header
This commit is contained in:
parent
2f76a9f7d2
commit
2942392d0a
|
@ -1,11 +1,11 @@
|
|||
import {ChangeDetectorRef, Component, HostListener, OnDestroy, OnInit} from "@angular/core";
|
||||
import {Component, OnInit} from "@angular/core";
|
||||
|
||||
@Component({
|
||||
selector: '[page-content]',
|
||||
template: `
|
||||
<div id="page_content">
|
||||
<div #header id="page_content_header" uk-sticky="show-on-up: true; animation: uk-animation-slide-top; media: @m" [attr.offset]="offset">
|
||||
<div class="uk-container uk-container-large">
|
||||
<div class="uk-container uk-container-large uk-padding-remove-vertical">
|
||||
<ng-content select="[header]"></ng-content>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -25,10 +25,10 @@
|
|||
<ul class="uk-list">
|
||||
<li [class.uk-active]="isTheActiveUrl(specialMenuItem.route)">
|
||||
<a [routerLink]="specialMenuItem.route" [queryParams]="specialMenuItem.params"
|
||||
[queryParamsHandling]="queryParamsHandling" class="uk-text-center">
|
||||
[queryParamsHandling]="queryParamsHandling" class="uk-flex uk-flex-center uk-flex-middle uk-flex-wrap">
|
||||
<span [class.uk-display-block]="!open" [innerHTML]="satinizeHTML(specialMenuItem.icon)"></span>
|
||||
<span [ngClass]="specialMenuItem.customClass"
|
||||
[class.uk-margin-small-left]="open"
|
||||
<span [ngClass]="specialMenuItem.customClass" class="uk-text-center"
|
||||
[class.uk-margin-small-left]="open" [class.uk-margin-small-top]="!open"
|
||||
[class.uk-text-small]="!open">{{specialMenuItem.title}}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue