mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 12:35:07 +00:00
(Contacts) sidenav toggler fixed and sidenav style refined for mobile.
This commit is contained in:
parent
9a420c9599
commit
117f5a85b2
|
@ -6,8 +6,8 @@
|
||||||
<!-- APP TITLE -->
|
<!-- APP TITLE -->
|
||||||
<div fxLayout="row" fxLayoutAlign="start center">
|
<div fxLayout="row" fxLayoutAlign="start center">
|
||||||
|
|
||||||
<button md-button class="mat-icon-button sidenav-toggle"
|
<button md-button class="mat-icon-button sidenav-toggle mr-12"
|
||||||
fuseMdSidenavToggler="simple-left-sidenav"
|
fuseMdSidenavToggler="contacts-main-sidenav"
|
||||||
fxHide.gt-md>
|
fxHide.gt-md>
|
||||||
<md-icon>menu</md-icon>
|
<md-icon>menu</md-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="sidenav-content p-24 pr-4">
|
<div class="sidenav-content">
|
||||||
|
|
||||||
<div class="card md-white-bg mat-elevation-z4">
|
<div class="card md-white-bg">
|
||||||
<!-- SIDENAV HEADER -->
|
<!-- SIDENAV HEADER -->
|
||||||
<div class="header p-24" fxLayout="row" fxLayoutAlign="start center">
|
<div class="header p-24" fxLayout="row" fxLayoutAlign="start center">
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "src/app/core/scss/fuse";
|
||||||
|
|
||||||
:host {
|
:host {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -7,11 +9,21 @@
|
||||||
.sidenav-content {
|
.sidenav-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
@include media-breakpoint(gt-md) {
|
||||||
|
padding: 24px 4px 24px 24px;
|
||||||
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
@include media-breakpoint(gt-md) {
|
||||||
|
@include mat-elevation(4);
|
||||||
|
}
|
||||||
|
|
||||||
> .header {
|
> .header {
|
||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
|
@ -22,5 +34,6 @@
|
||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user