mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
(fuseNavBar) change media steps for folded feature.
This commit is contained in:
parent
953f8cf44a
commit
38f83bd905
|
@ -5,11 +5,11 @@
|
|||
<span class="logo-text">FUSE</span>
|
||||
</div>
|
||||
|
||||
<button md-button class="toggle-button-navbar mat-icon-button" fuseNavbar="toggleFold" fxHide.xs>
|
||||
<button md-button class="toggle-button-navbar mat-icon-button" fuseNavbar="toggleFold" fxHide.lt-lg>
|
||||
<md-icon>menu</md-icon>
|
||||
</button>
|
||||
|
||||
<button md-button class="toggle-button-navbar mat-icon-button" fuseNavbar="closeBar" fxHide.gt-xs>
|
||||
<button md-button class="toggle-button-navbar mat-icon-button" fuseNavbar="closeBar" fxHide.gt-md>
|
||||
<md-icon>arrow_back</md-icon>
|
||||
</button>
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ fuse-navbar {
|
|||
box-shadow: none;
|
||||
}
|
||||
|
||||
@include media-breakpoint('lt-md') {
|
||||
@include media-breakpoint('lt-lg') {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
|
|
|
@ -35,7 +35,7 @@ export class FuseNavbarComponent implements OnInit, OnDestroy
|
|||
.subscribe((mediaStep) => {
|
||||
setTimeout(() => {
|
||||
|
||||
if ( this.media.isActive('lt-md') )
|
||||
if ( this.media.isActive('lt-lg') )
|
||||
{
|
||||
this.closeBar();
|
||||
this.deActivateFolded();
|
||||
|
@ -60,7 +60,7 @@ export class FuseNavbarComponent implements OnInit, OnDestroy
|
|||
this.initialized = true;
|
||||
});
|
||||
|
||||
if ( this.media.isActive('lt-md') )
|
||||
if ( this.media.isActive('lt-lg') )
|
||||
{
|
||||
this.closeBar();
|
||||
this.deActivateFolded();
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
|
||||
<div fxFlex fxLayout="row" fxLayoutAlign="start center">
|
||||
|
||||
<button md-button class="toggle-button-navbar mat-icon-button" fuseNavbar="openBar" fxHide.gt-sm fxFlex="56px">
|
||||
<button md-button class="toggle-button-navbar mat-icon-button" fuseNavbar="openBar" fxHide.gt-md>
|
||||
<md-icon>menu</md-icon>
|
||||
</button>
|
||||
|
||||
<div class="toolbar-separator" fxHide.gt-sm></div>
|
||||
<div class="toolbar-separator" fxHide.gt-md></div>
|
||||
|
||||
<div class="px-16" fxHide.lt-md>
|
||||
<fuse-shortcuts></fuse-shortcuts>
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
height: 64px;
|
||||
}
|
||||
|
||||
.toggle-button-navbar {
|
||||
min-width: 56px;
|
||||
height: 56px;
|
||||
}
|
||||
|
||||
.toolbar-separator {
|
||||
height: 64px;
|
||||
width: 1px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user