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