레이아웃 정리

This commit is contained in:
leejh 2019-11-04 13:09:58 +09:00
parent c7a7f6ca23
commit bceade2261
3 changed files with 8 additions and 4 deletions

View File

@ -4,9 +4,12 @@
</div> </div>
<mat-drawer-container class="contents" autosize> <mat-drawer-container class="contents" autosize>
<div class="messages"> <div class="messages">
<app-layout-messenger-intro <!-- <app-layout-messenger-intro
(click)="drawer.toggle()" (click)="drawer.toggle()"
*ngIf="!(this.selectedChat$ | async)" *ngIf="!(this.selectedChat$ | async)"
></app-layout-messenger-intro> -->
<app-layout-messenger-intro
*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)"
@ -17,7 +20,7 @@
</mat-drawer> </mat-drawer>
</mat-drawer-container> </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> -->
</div> </div>

View File

@ -8,6 +8,7 @@
width: 380px; width: 380px;
height: 100%; height: 100%;
flex: 0 0 auto; flex: 0 0 auto;
position: relative;
} }
.contents { .contents {
flex: 1 1 auto; flex: 1 1 auto;

View File

@ -1,5 +1,5 @@
.fab-container { .fab-container {
position: fixed; position: absolute;
bottom: 15px; bottom: 15px;
right: 15px; right: 15px;
z-index: 100; z-index: 100;