sidenav of messenger is added
This commit is contained in:
parent
08c5d2825a
commit
fad0787266
|
@ -2,14 +2,21 @@
|
||||||
<div class="left-side">
|
<div class="left-side">
|
||||||
<app-layout-messenger-left-side></app-layout-messenger-left-side>
|
<app-layout-messenger-left-side></app-layout-messenger-left-side>
|
||||||
</div>
|
</div>
|
||||||
<div class="contents">
|
<mat-drawer-container class="contents" autosize>
|
||||||
|
<div class="messages">
|
||||||
<app-layout-messenger-intro
|
<app-layout-messenger-intro
|
||||||
|
(click)="drawer.toggle()"
|
||||||
*ngIf="!(this.selectedChat$ | async)"
|
*ngIf="!(this.selectedChat$ | async)"
|
||||||
></app-layout-messenger-intro>
|
></app-layout-messenger-intro>
|
||||||
<app-layout-messenger-messages
|
<app-layout-messenger-messages
|
||||||
*ngIf="!!(this.selectedChat$ | async)"
|
*ngIf="!!(this.selectedChat$ | async)"
|
||||||
></app-layout-messenger-messages>
|
></app-layout-messenger-messages>
|
||||||
</div>
|
</div>
|
||||||
|
<mat-drawer #drawer mode="side" position="end">
|
||||||
|
<p>sidenav</p>
|
||||||
|
</mat-drawer>
|
||||||
|
</mat-drawer-container>
|
||||||
|
|
||||||
<div class="right-side">
|
<div class="right-side">
|
||||||
<app-layout-messenger-right-side></app-layout-messenger-right-side>
|
<app-layout-messenger-right-side></app-layout-messenger-right-side>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,6 +10,11 @@
|
||||||
float: left;
|
float: left;
|
||||||
width: calc(100% - 360px);
|
width: calc(100% - 360px);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
|
.messages {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.right-side {
|
.right-side {
|
||||||
float: left;
|
float: left;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user